javaparser-symbol-solver-testing/src/test/resources/Issue1482.java.txt
raw| 1 | public class MultiCatchMethodCallExpr { |
| 2 | public void test() { |
| 3 | try { |
| 4 | methodWithExceptions(); |
| 5 | } catch (ArrayIndexOutOfBoundsException | ClassCastException e) { |
| 6 | System.out.println(e.getMessage()); |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | private void methodWithExceptions() throws ArrayIndexOutOfBoundsException, ClassCastException { |
| 11 | // do something |
| 12 | } |
| 13 | } |