Lines Matching defs:tryCatch

52     private static void tryCatch(String s, Class ex, Runnable thunk) {
72 tryCatch(" default ctor", null, new Runnable() {
80 tryCatch(" \"foo\"", null, new Runnable() {
84 tryCatch(" null", NullPointerException.class, new Runnable() {
92 tryCatch(" char [] = \"Duke says \"Hi!\"\"", null, new Runnable() {
96 tryCatch(" null", NullPointerException.class, new Runnable() {
104 tryCatch(" c, 0, 3", null, new Runnable() {
108 tryCatch(" null, 1, 2", NullPointerException.class, new Runnable() {
112 tryCatch(" c, -1, 4", IndexOutOfBoundsException.class,
117 tryCatch(" c, 1, -1", IndexOutOfBoundsException.class,
122 tryCatch(" c, c.lengh + 1, 1", IndexOutOfBoundsException.class,
127 tryCatch(" c, 0, c.length + 1", IndexOutOfBoundsException.class,
137 tryCatch(" b, 0, 0, b.length", null, new Runnable() {
142 tryCatch(" b, -1, 4, 4", null, new Runnable() {
146 tryCatch(" null, 0, 0, 0", NullPointerException.class,
151 tryCatch(" b, 0, -1, r", IndexOutOfBoundsException.class,
156 tryCatch(" b, 0, 4, -1", IndexOutOfBoundsException.class,
161 tryCatch(" b, 0, b.length + 1, 1", IndexOutOfBoundsException.class,
166 tryCatch(" b, 0, 0, b.length + 1", IndexOutOfBoundsException.class,
175 tryCatch(" b, 0", null, new Runnable() {
179 tryCatch(" null, 0", NullPointerException.class, new Runnable() {
309 tryCatch(" b, 0, b.length", null, new Runnable() {
313 tryCatch(" null, 0, 0", NullPointerException.class, new Runnable() {
317 tryCatch(" b, -1, b.length", IndexOutOfBoundsException.class,
322 tryCatch(" b, 0, -1", IndexOutOfBoundsException.class,
327 tryCatch(" b, b.length + 1, 1", IndexOutOfBoundsException.class,
332 tryCatch(" b, 0, b.length", IndexOutOfBoundsException.class,
341 tryCatch(" b", null, new Runnable() {
345 tryCatch(" null", NullPointerException.class, new Runnable() {
353 tryCatch(" \"bar\"", null, new Runnable() {
357 tryCatch(" null", NullPointerException.class, new Runnable() {
368 tryCatch(" null", NullPointerException.class, new Runnable() {
377 tryCatch(" 1, 2, null, 1", NullPointerException.class, new Runnable() {
384 tryCatch(" null", NullPointerException.class, new Runnable() {
394 tryCatch(" null", NullPointerException.class, new Runnable() {
402 tryCatch(" null", NullPointerException.class, new Runnable() {
410 tryCatch(" (String) null", NullPointerException.class, new Runnable() {
417 tryCatch(" (Object) null", NullPointerException.class, new Runnable() {
426 tryCatch(" null", NullPointerException.class, new Runnable() {
435 tryCatch(" 1, null, 1, 1", NullPointerException.class, new Runnable() {
442 tryCatch(" true, 1, null, 1, 1", NullPointerException.class,
451 tryCatch(" null, 1", NullPointerException.class, new Runnable() {
457 tryCatch(" null", NullPointerException.class, new Runnable() {
465 tryCatch(" null", NullPointerException.class, new Runnable() {
473 tryCatch(" null", NullPointerException.class, new Runnable() {
479 tryCatch(" null, 1", NullPointerException.class, new Runnable() {
487 tryCatch(" null", NullPointerException.class, new Runnable() {
493 tryCatch(" null, 1", NullPointerException.class, new Runnable() {
501 tryCatch(" null", NullPointerException.class, new Runnable() {
509 tryCatch(" null", NullPointerException.class, new Runnable() {
517 tryCatch(" \".\", null", NullPointerException.class, new Runnable() {
521 tryCatch(" null, \"-\"", NullPointerException.class, new Runnable() {
529 tryCatch(" \".\", null", NullPointerException.class, new Runnable() {
533 tryCatch(" null, \"-\"", NullPointerException.class, new Runnable() {
541 tryCatch(" null, 1", NullPointerException.class, new Runnable() {
547 tryCatch(" null", NullPointerException.class, new Runnable() {
555 tryCatch(" null", NullPointerException.class, new Runnable() {
563 tryCatch(" null", NullPointerException.class, new Runnable() {
571 tryCatch(" null", null, new Runnable() {
577 tryCatch(" null", NullPointerException.class, new Runnable() {
583 tryCatch(" null, 1, 2", NullPointerException.class, new Runnable() {
592 tryCatch(" null, 1, 2", NullPointerException.class, new Runnable() {
598 tryCatch(" null", NullPointerException.class, new Runnable() {