Searched defs:tryCatch (Results 26 - 32 of 32) sorted by relevance

12

/openjdk7/jdk/test/java/nio/Buffer/
H A DBasicDouble.java338 private static void tryCatch(Buffer b, Class ex, Runnable thunk) { method in class:BasicDouble
353 private static void tryCatch(double [] t, Class ex, Runnable thunk) { method in class:BasicDouble
354 tryCatch(DoubleBuffer.wrap(t), ex, thunk);
421 tryCatch(b, BufferUnderflowException.class, new Runnable() {
426 tryCatch(b, BufferOverflowException.class, new Runnable() {
432 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
436 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
441 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
446 tryCatch(b, InvalidMarkException.class, new Runnable() {
651 tryCatch(
[all...]
H A DBasicFloat.java338 private static void tryCatch(Buffer b, Class ex, Runnable thunk) { method in class:BasicFloat
353 private static void tryCatch(float [] t, Class ex, Runnable thunk) { method in class:BasicFloat
354 tryCatch(FloatBuffer.wrap(t), ex, thunk);
421 tryCatch(b, BufferUnderflowException.class, new Runnable() {
426 tryCatch(b, BufferOverflowException.class, new Runnable() {
432 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
436 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
441 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
446 tryCatch(b, InvalidMarkException.class, new Runnable() {
651 tryCatch(
[all...]
H A DBasicInt.java338 private static void tryCatch(Buffer b, Class ex, Runnable thunk) { method in class:BasicInt
353 private static void tryCatch(int [] t, Class ex, Runnable thunk) { method in class:BasicInt
354 tryCatch(IntBuffer.wrap(t), ex, thunk);
421 tryCatch(b, BufferUnderflowException.class, new Runnable() {
426 tryCatch(b, BufferOverflowException.class, new Runnable() {
432 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
436 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
441 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
446 tryCatch(b, InvalidMarkException.class, new Runnable() {
651 tryCatch(
[all...]
H A DBasicLong.java338 private static void tryCatch(Buffer b, Class ex, Runnable thunk) { method in class:BasicLong
353 private static void tryCatch(long [] t, Class ex, Runnable thunk) { method in class:BasicLong
354 tryCatch(LongBuffer.wrap(t), ex, thunk);
421 tryCatch(b, BufferUnderflowException.class, new Runnable() {
426 tryCatch(b, BufferOverflowException.class, new Runnable() {
432 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
436 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
441 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
446 tryCatch(b, InvalidMarkException.class, new Runnable() {
651 tryCatch(
[all...]
H A DBasicShort.java338 private static void tryCatch(Buffer b, Class ex, Runnable thunk) { method in class:BasicShort
353 private static void tryCatch(short [] t, Class ex, Runnable thunk) { method in class:BasicShort
354 tryCatch(ShortBuffer.wrap(t), ex, thunk);
421 tryCatch(b, BufferUnderflowException.class, new Runnable() {
426 tryCatch(b, BufferOverflowException.class, new Runnable() {
432 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
436 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
441 tryCatch(b, IndexOutOfBoundsException.class, new Runnable() {
446 tryCatch(b, InvalidMarkException.class, new Runnable() {
651 tryCatch(
[all...]
/openjdk7/jdk/test/java/io/File/
H A DGetXSpace.java182 private static void tryCatch(Space s) { method in class:GetXSpace
366 tryCatch(s);
/openjdk7/jdk/test/java/lang/String/
H A DExceptions.java52 private static void tryCatch(String s, Class ex, Runnable thunk) { method in class:Exceptions
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("
[all...]

Completed in 36 milliseconds

12