Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 128) sorted by relevance

123456

/libcore/ojluni/src/main/java/java/lang/
DError.java49 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
DThreadDeath.java49 public class ThreadDeath extends Error {
/libcore/ojluni/src/test/java/util/IdentityHashMap/
DToArray.java53 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/
DErrorTest.java28 Error e = new Error(); in test_Constructor()
38 Error e = new Error("fixture"); in test_ConstructorLjava_lang_String()
DOutOfMemoryErrorTest.java27 Error e = new OutOfMemoryError(); in test_Constructor()
37 Error e = new OutOfMemoryError(null); in test_ConstructorLjava_lang_String()
DAbstractMethodErrorTest.java29 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/
DErrorTest.java32 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/
DSerializationStressTest1.java389 } 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 …]
DSerializationStressTest3.java390 } 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 …]
DSerializationStressTest4.java90 } 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 …]
DSerializationStressTest2.java832 } 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/
DMethodHandleStatics.java153 /*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/
DArraysEqCmpTest.java166 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/
DThreadPool.java163 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/
DMethodTypeDescriptorAccessTest.java72 …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/
DPack200.java811 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/
DReentrantLock.java135 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/
DBug6533203.java42 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/
DEqualsCompareTest.java138 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/
DReverseOrder.java52 throw new Error(t); in serialBytes()
64 throw new Error(t); in serialClone()
/libcore/luni/src/test/java/libcore/java/net/
DURLStreamHandlerFactoryTest.java70 } catch (Error expected) { in testCreateURLStreamHandler()
81 } catch (Error expected) { in testCreateURLStreamHandler()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderMalfunctionError.java39 extends Error
/libcore/ojluni/src/main/java/java/io/
DIOError.java34 public class IOError extends Error {
/libcore/support/src/test/java/tests/support/
DSupport_Proxy_I2.java26 String string(String s) throws Support_Proxy_SubException, Error; in string()
/libcore/ojluni/src/main/java/java/util/
DServiceConfigurationError.java39 extends Error

123456