Lines Matching defs:tryCatch
456 tryCatch(b, IllegalArgumentException.class, thunk);
460 tryCatch(b, ReadOnlyBufferException.class, thunk);
464 tryCatch(b, IndexOutOfBoundsException.class, thunk);
468 tryCatch(t, IndexOutOfBoundsException.class, thunk);
471 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) {
487 private static void tryCatch(int[] t, Class<?> ex, Runnable thunk) {
488 tryCatch(IntBuffer.wrap(t), ex, thunk);
566 tryCatch(b, BufferUnderflowException.class, () -> b.get());
567 tryCatch(b, BufferOverflowException.class, () -> b.put((int)42));
572 tryCatch(b, InvalidMarkException.class,
947 tryCatch(ba, NullPointerException.class,
949 tryCatch(ba, NullPointerException.class,