/libcore/ojluni/src/main/java/java/lang/ |
D | Error.java | 49 public class Error extends Throwable { class 58 public Error() { in Error() method in Error 70 public Error(String message) { in Error() method in Error 88 public Error(String message, Throwable cause) { in Error() method in Error 105 public Error(Throwable cause) { in Error() method in Error 124 protected Error(String message, Throwable cause, in Error() method in Error
|
D | ThreadDeath.java | 49 public class ThreadDeath extends Error {
|
/libcore/ojluni/src/test/java/util/IdentityHashMap/ |
D | ToArray.java | 53 throw new Error("bad string"); in main() 77 throw new Error("non-empty"); in main() 79 throw new Error("non-null"); in main() 82 throw new Error("length"); in main() 85 throw new Error("non-null"); in main() 88 throw new Error("bad key"); in main() 90 throw new Error("bad value"); in main()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ErrorTest.java | 28 Error e = new Error(); in test_Constructor() 38 Error e = new Error("fixture"); in test_ConstructorLjava_lang_String()
|
D | OutOfMemoryErrorTest.java | 27 Error e = new OutOfMemoryError(); in test_Constructor() 37 Error e = new OutOfMemoryError(null); in test_ConstructorLjava_lang_String()
|
D | AbstractMethodErrorTest.java | 29 Error error = new AbstractMethodError(); in test_Constructor() 39 Error error = new AbstractMethodError(null); in test_ConstructorLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ErrorTest.java | 32 Error error = new TestError("message", null /* cause */, in withNonWritableStackTrace_getStackTraceIsEmpty() 41 Error error = new TestError("message", null /* cause */, in withWritableStackTrace_nonEmptyGetStackTrace() 54 Error error = new TestError("Message", null, false /* enableSuppression */, true); in whenSuppressionDisabled_addSuppressHasNoEffect() 63 Error error = new TestError("message", null /* cause */, true /* enableSuppression */, in whenSuppressionEnabled_addsSuppressed() 74 private static final class TestError extends Error {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest1.java | 389 } catch (Error err) { in test_18_1_writeObject() 415 } catch (Error err) { in test_18_2_writeObject() 443 } catch (Error err) { in test_18_3_writeObject() 471 } catch (Error err) { in test_18_4_writeObject() 499 } catch (Error err) { in test_18_5_writeObject() 527 } catch (Error err) { in test_18_6_writeObject() 555 } catch (Error err) { in test_18_7_writeObject() 583 } catch (Error err) { in test_18_8_writeObject() 610 } catch (Error err) { in test_18_9_writeObject() 639 } catch (Error err) { in test_18_10_writeObject() [all …]
|
D | SerializationStressTest3.java | 390 } catch (Error err) { in test_18_81_writeObject() 418 } catch (Error err) { in test_18_82_writeObject() 447 } catch (Error err) { in test_18_83_writeObject() 476 } catch (Error err) { in test_18_84_writeObject() 525 } catch (Error err) { in test_18_86_writeObject() 554 } catch (Error err) { in test_18_87_writeObject() 583 } catch (Error err) { in test_18_88_writeObject() 612 } catch (Error err) { in test_18_89_writeObject() 640 } catch (Error err) { in test_18_90_writeObject() 669 } catch (Error err) { in test_18_91_writeObject() [all …]
|
D | SerializationStressTest4.java | 90 } catch (Error err) { in test_writeObject_EventObject() 122 } catch (Error err) { in test_writeObject_Collections_EmptySet() 155 } catch (Error err) { in test_writeObject_Collections_EmptyMap() 184 } catch (Error err) { in test_writeObject_Character() 249 } catch (Error err) { in test_writeObject_Format() 276 } catch (Error err) { in test_writeObject_BigDecimal() 319 } catch (Error err) { in test_writeObject_SecureRandomSpi() 347 } catch (Error err) { in test_writeObject_Short() 375 } catch (Error err) { in test_writeObject_Byte() 408 } catch (Error err) { in test_writeObject_String_CaseInsensitiveComparator() [all …]
|
D | SerializationStressTest2.java | 832 } catch (Error err) { in test_18_41_writeObject() 866 } catch (Error err) { in test_18_42_writeObject() 898 } catch (Error err) { in test_18_43_writeObject() 930 } catch (Error err) { in test_18_44_writeObject() 963 } catch (Error err) { in test_18_45_writeObject() 991 } catch (Error err) { in test_18_46_writeObject() 1021 } catch (Error err) { in test_18_47_writeObject() 1053 } catch (Error err) { in test_18_48_writeObject() 1087 } catch (Error err) { in test_18_51_writeObject() 1118 } catch (Error err) { in test_18_52_writeObject() [all …]
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandleStatics.java | 153 /*non-public*/ static Error uncaughtException(Throwable ex) { in uncaughtException() 154 if (ex instanceof Error) throw (Error) ex; in uncaughtException() 158 static Error NYI() { in NYI()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArraysEqCmpTest.java | 166 throw new Error(e); in ArrayType() 188 catch (RuntimeException | Error e) { in copyOf() 192 throw new Error(t); in copyOf() 200 catch (RuntimeException | Error e) { in get() 204 throw new Error(t); in get() 214 catch (RuntimeException | Error e) { in equals() 218 throw new Error(t); in equals() 227 catch (RuntimeException | Error e) { in equals() 231 throw new Error(t); in equals() 239 catch (RuntimeException | Error e) { in compare() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ThreadPool.java | 163 throw new Error("Value of property '" + DEFAULT_THREAD_POOL_INITIAL_SIZE + in getDefaultThreadPoolInitialSize() 179 throw new Error(x); in getDefaultThreadPoolThreadFactory() 181 throw new Error(x); in getDefaultThreadPoolThreadFactory() 183 throw new Error(x); in getDefaultThreadPoolThreadFactory()
|
/libcore/ojluni/src/test/java/lang/constant/access_test/pkg1/ |
D | MethodTypeDescriptorAccessTest.java | 72 …throw new Error("resolveConstantDesc() threw ReflectiveOperationException unexpectedly with cause … in checkValidAccess() 80 throw new Error("resolveConstantDesc() succeeded unexpectedly " + mtd); in checkInvalidAccess() 83 …throw new Error("resolveConstantDesc() threw unexpected ReflectiveOperationException with cause " + in checkInvalidAccess()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Pack200.java | 811 throw new Error("Class not found: " + implName + in newInstance() 815 throw new Error("Could not instantiate: " + implName + in newInstance() 819 throw new Error("Cannot access class: " + implName + in newInstance()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantLock.java | 135 throw new Error("Maximum lock count exceeded"); in tryLock() 231 throw new Error("Maximum lock count exceeded"); in initialTryLock() 269 throw new Error("Maximum lock count exceeded"); in initialTryLock()
|
/libcore/ojluni/src/test/java/util/ArrayList/ |
D | Bug6533203.java | 42 if (i == 13) throw new Error("unlucky"); in test() 46 THROWS(Error.class, new F(){void f(){it.add(13);}}); in test()
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | EqualsCompareTest.java | 138 catch (RuntimeException | Error e) { in get() 142 throw new Error(t); in get() 150 catch (RuntimeException | Error e) { in set() 154 throw new Error(t); in set() 164 catch (RuntimeException | Error e) { in equals() 168 throw new Error(t); in equals() 176 catch (RuntimeException | Error e) { in compare() 180 throw new Error(t); in compare() 198 catch (RuntimeException | Error e) { in mismatch() 202 throw new Error(t); in mismatch()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | ReverseOrder.java | 52 throw new Error(t); in serialBytes() 64 throw new Error(t); in serialClone()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLStreamHandlerFactoryTest.java | 70 } catch (Error expected) { in testCreateURLStreamHandler() 81 } catch (Error expected) { in testCreateURLStreamHandler()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CoderMalfunctionError.java | 39 extends Error
|
/libcore/ojluni/src/main/java/java/io/ |
D | IOError.java | 34 public class IOError extends Error {
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Proxy_I2.java | 26 String string(String s) throws Support_Proxy_SubException, Error; in string()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ServiceConfigurationError.java | 39 extends Error
|