1 2 3 4 5 6 7 8 9
public class MultiCatch { public void test() { try { System.out.println(); } catch (IllegalArgumentException | IllegalStateException e) { e.printStackTrace(); } } }