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

12

/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DArgs.java44 private static void tryCatch(Class ex, Thunk thunk) { method in class:Args
64 tryCatch(IllegalArgumentException.class, new Thunk() {
69 tryCatch(IllegalArgumentException.class, new Thunk() {
74 tryCatch(IllegalArgumentException.class, new Thunk() {
79 tryCatch(IllegalArgumentException.class, new Thunk() {
84 tryCatch(IllegalArgumentException.class, new Thunk() {
89 tryCatch(IllegalArgumentException.class, new Thunk() {
94 tryCatch(IllegalArgumentException.class, new Thunk() {
/openjdk7/jdk/test/java/util/Formatter/
H A DBasicBigInteger.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicBigInteger
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicBigInteger
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicBoolean.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicBoolean
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicBoolean
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicBooleanObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicBooleanObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicBooleanObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicChar.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicChar
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicChar
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicCharObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicCharObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicCharObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicBigDecimal.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicBigDecimal
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicBigDecimal
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicByte.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicByte
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicByte
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicByteObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicByteObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicByteObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicDateTime.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicDateTime
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicDateTime
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicDouble.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicDouble
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicDouble
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicDoubleObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicDoubleObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicDoubleObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicFloat.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicFloat
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicFloat
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicFloatObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicFloatObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicFloatObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicInt.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicInt
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicInt
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicIntObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicIntObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicIntObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicLong.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicLong
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicLong
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicLongObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicLongObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicLongObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicShort.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicShort
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicShort
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
H A DBasicShortObject.java111 private static void tryCatch(String fs, Class<?> ex) { method in class:BasicShortObject
125 private static void tryCatch(String fs, Class<?> ex, Object ... args) { method in class:BasicShortObject
342 tryCatch("%q", UnknownFormatConversionException.class);
343 tryCatch("%t&", UnknownFormatConversionException.class);
344 tryCatch("%&d", UnknownFormatConversionException.class);
345 tryCatch("%^b", UnknownFormatConversionException.class);
417 tryCatch("%#b", FormatFlagsConversionMismatchException.class);
418 tryCatch("%-b", MissingFormatWidthException.class);
420 tryCatch("%.b", UnknownFormatConversionException.class);
421 tryCatch("
[all...]
/openjdk7/jdk/test/java/lang/StringBuffer/
H A DExceptions.java47 private static void tryCatch(String s, Throwable ex, Runnable thunk) { method in class:Exceptions
70 tryCatch(" no args", null, new Runnable() {
76 tryCatch(" 1", null, new Runnable() {
80 tryCatch(" -1", new NegativeArraySizeException(), new Runnable() {
86 tryCatch(" null", new NullPointerException(), new Runnable() {
90 tryCatch(" foo", null, new Runnable() {
96 tryCatch(" -1, 2, \" \"",
104 tryCatch(" 7, 8, \" \"",
111 tryCatch(" 2, 1, \" \"",
/openjdk7/jdk/test/java/lang/StringBuilder/
H A DExceptions.java47 private static void tryCatch(String s, Throwable ex, Runnable thunk) { method in class:Exceptions
70 tryCatch(" no args", null, new Runnable() {
76 tryCatch(" 1", null, new Runnable() {
80 tryCatch(" -1", new NegativeArraySizeException(), new Runnable() {
86 tryCatch(" null", new NullPointerException(), new Runnable() {
90 tryCatch(" foo", null, new Runnable() {
96 tryCatch(" -1, 2, \" \"",
103 tryCatch(" 7, 8, \" \"",
110 tryCatch(" 2, 1, \" \"",
/openjdk7/jdk/test/java/nio/file/attribute/UserDefinedFileAttributeView/
H A DBasic.java52 static void tryCatch(Class<? extends Throwable> ex, Task task) { method in class:Basic
68 tryCatch(NullPointerException.class, task);
109 tryCatch(IOException.class, new Task() {
208 tryCatch(IllegalArgumentException.class, new Task() {
217 tryCatch(IOException.class, new Task() {
/openjdk7/jdk/test/java/nio/Buffer/
H A DBasicByte.java220 tryCatch(b, InvalidMarkException.class, new Runnable() {
338 private static void tryCatch(Buffer b, Class ex, Runnable thunk) { method in class:BasicByte
353 private static void tryCatch(byte [] t, Class ex, Runnable thunk) { method in class:BasicByte
354 tryCatch(ByteBuffer.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(
[all...]
H A DBasicChar.java338 private static void tryCatch(Buffer b, Class ex, Runnable thunk) { method in class:BasicChar
353 private static void tryCatch(char [] t, Class ex, Runnable thunk) { method in class:BasicChar
354 tryCatch(CharBuffer.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...]

Completed in 54 milliseconds

12