Lines Matching full:illegalargumentexception
49 IllegalArgumentException.class);
56 final IllegalArgumentException iae = new IllegalArgumentException("boo!");
59 fail("Expected an exception of type: java.lang.IllegalArgumentException");
60 } catch (IllegalArgumentException expected) {
104 } catch (IllegalArgumentException expected) {
119 } catch (IllegalArgumentException expected) {
126 } catch (IllegalArgumentException expected) {
132 } catch (IllegalArgumentException expected) {
139 throw new IllegalArgumentException(exceptionMessage);
146 public static String testCatchException_handler(IllegalArgumentException iae, String arg1, long arg2,
152 public static String testCatchException_handler2(IllegalArgumentException iae, String arg1) {
164 MethodType.methodType(String.class, new Class<?>[] { IllegalArgumentException.class,
167 MethodHandle adapter = MethodHandles.catchException(target, IllegalArgumentException.class,
188 MethodType.methodType(String.class, new Class<?>[] { IllegalArgumentException.class,
190 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler);
198 // IllegalArgumentException.toString() on the exception that was thrown by
200 handler = MethodHandles.lookup().findVirtual(IllegalArgumentException.class,
202 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler);
205 assertEquals("java.lang.IllegalArgumentException: exceptionMessage", returnVal);
207 assertEquals("java.lang.IllegalArgumentException: exceptionMessage2", returnVal);
210 adapter = MethodHandles.catchException(target, IllegalArgumentException.class,
215 assertEquals("java.lang.IllegalArgumentException: exceptionMessage", returnVal);
838 } catch (IllegalArgumentException expected) {
847 } catch (IllegalArgumentException expected) {
855 } catch (IllegalArgumentException expected) {
971 } catch (IllegalArgumentException expected) {
979 } catch (IllegalArgumentException expected) {
1247 } catch (IllegalArgumentException expected) {
1317 } catch (IllegalArgumentException expected) {
1324 } catch (IllegalArgumentException expected) {
1431 } catch (IllegalArgumentException expected) {
1438 } catch (IllegalArgumentException expected) {
1456 } catch (IllegalArgumentException expected) {
1529 } catch (IllegalArgumentException expected) {
1631 } catch (IllegalArgumentException expected) {
1640 } catch (IllegalArgumentException expected) {