(String[] args)
| 1 | public class ExceptionCircle { |
| 2 | |
| 3 | public static void main(String[] args) { |
| 4 | try { |
| 5 | m(); |
| 6 | m1(); |
| 7 | } catch (ArithmeticException e1) { |
| 8 | e1.getMessage(); |
| 9 | } catch (IllegalStateException e2) { |
| 10 | e2.getMessage(); |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | public static void m() throws ArithmeticException { |
| 15 | m1(); |