This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revision Both sides next revision | ||
|
java:exceptions_throwing [2021/03/22 19:44] gthanos [Δημιουργία νέων τύπων εξαιρέσεων και πυροδότηση εξαίρεσης] |
java:exceptions_throwing [2021/03/22 19:44] gthanos |
||
|---|---|---|---|
| Line 25: | Line 25: | ||
| import java.util.InputMismatchException; | import java.util.InputMismatchException; | ||
| - | public class ExceptionHandling_7 | + | public class ExceptionHandling |
| public static int readInt(Scanner sc) throws AbnormalSituationException { | public static int readInt(Scanner sc) throws AbnormalSituationException { | ||