equal
deleted
inserted
replaced
66 checkWithThrowable(IndexOutOfBoundsException.class, null, r); |
66 checkWithThrowable(IndexOutOfBoundsException.class, null, r); |
67 } |
67 } |
68 |
68 |
69 static void checkIOOBE(Object message, ThrowingRunnable r) { |
69 static void checkIOOBE(Object message, ThrowingRunnable r) { |
70 checkWithThrowable(IndexOutOfBoundsException.class, message, r); |
70 checkWithThrowable(IndexOutOfBoundsException.class, message, r); |
|
71 } |
|
72 |
|
73 static void checkASE(ThrowingRunnable r) { |
|
74 checkWithThrowable(ArrayStoreException.class, null, r); |
|
75 } |
|
76 |
|
77 static void checkASE(Object message, ThrowingRunnable r) { |
|
78 checkWithThrowable(ArrayStoreException.class, message, r); |
71 } |
79 } |
72 |
80 |
73 static void checkISE(ThrowingRunnable r) { |
81 static void checkISE(ThrowingRunnable r) { |
74 checkWithThrowable(IllegalStateException.class, null, r); |
82 checkWithThrowable(IllegalStateException.class, null, r); |
75 } |
83 } |