/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThrowableTest.java | 76 public SuppressionsThrowable(String detailMessage, Throwable throwable, in SuppressionsThrowable() argument 78 super(detailMessage, throwable, enableSuppression, writableStackTrace); in SuppressionsThrowable() 83 Throwable throwable = new Throwable(); in testAddSuppressed() local 84 assertSuppressed(throwable); in testAddSuppressed() 86 throwable.addSuppressed(suppressedA); in testAddSuppressed() 87 assertSuppressed(throwable, suppressedA); in testAddSuppressed() 89 throwable.addSuppressed(suppressedB); in testAddSuppressed() 90 assertSuppressed(throwable, suppressedA, suppressedB); in testAddSuppressed() 94 Throwable throwable = new Throwable(); in testAddDuplicateSuppressed() local 96 throwable.addSuppressed(suppressedA); in testAddDuplicateSuppressed() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | UndeclaredThrowableExceptionTests.java | 10 private static EOFException throwable = new EOFException(); field in UndeclaredThrowableExceptionTests 17 throwable); in test_getCause() 18 assertSame("Wrong cause returned", throwable, ute.getCause()); in test_getCause() 26 throwable); in test_getUndeclaredThrowable() 27 assertSame("Wrong undeclared throwable returned", throwable, ute in test_getUndeclaredThrowable() 36 throwable); in test_Constructor_Throwable() 37 assertEquals("Wrong cause returned", throwable, e.getCause()); in test_Constructor_Throwable() 38 assertEquals("Wrong throwable returned", throwable, e in test_Constructor_Throwable() 47 throwable, msg); in test_Constructor_Throwable_String() 48 assertEquals("Wrong cause returned", throwable, e.getCause()); in test_Constructor_Throwable_String() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | UnsupportedOperationExceptionTest.java | 56 Throwable throwable = new Exception("msg"); in test_ConstructorLjava_lang_Throwable() local 57 UnsupportedOperationException exception = new UnsupportedOperationException(throwable); in test_ConstructorLjava_lang_Throwable() 58 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); in test_ConstructorLjava_lang_Throwable() 59 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 60 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 74 Throwable throwable = new Exception("msg_exception"); in test_ConstructorLjava_lang_StringLjava_lang_Throwable() local 76 "msg", throwable); in test_ConstructorLjava_lang_StringLjava_lang_Throwable() 79 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
|
D | IllegalStateExceptionTest.java | 55 Throwable throwable = new Exception("msg"); in test_ConstructorLjava_lang_Throwable() local 56 IllegalStateException exception = new IllegalStateException(throwable); in test_ConstructorLjava_lang_Throwable() 57 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); in test_ConstructorLjava_lang_Throwable() 58 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 59 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 72 Throwable throwable = new Exception("msg_exception"); in test_ConstructorLjava_lang_StringLjava_lang_Throwable() local 73 IllegalStateException exception = new IllegalStateException("msg", throwable); in test_ConstructorLjava_lang_StringLjava_lang_Throwable() 76 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
|
D | RuntimeExceptionTest.java | 53 Throwable throwable = new Exception("msg"); in test_ConstructorLjava_lang_Throwable() local 54 RuntimeException exception = new RuntimeException(throwable); in test_ConstructorLjava_lang_Throwable() 55 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); in test_ConstructorLjava_lang_Throwable() 56 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 57 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | Vertex.java | 54 private Throwable throwable; field in Vertex 105 return throwable; in getThrowable() 114 void setThrowable(Throwable throwable) { in setThrowable() argument 115 this.throwable = throwable; in setThrowable() 204 if (throwable != null) in throwableToString() 205 sb.append(throwable.toString()); in throwableToString()
|
D | BuildStep.java | 43 private Throwable throwable; field in BuildStep 88 throwable = vertex.getThrowable(); in BuildStep() 169 return throwable; in getThrowable()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | LoadLocaleProviderTestHelper.java | 24 private Throwable throwable; field in LoadLocaleProviderTestHelper 36 return throwable; in getThrowable() 43 throwable = t; in run()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | SimpleFormatter.java | 152 String throwable = ""; in format() local 159 throwable = sw.toString(); in format() 167 throwable); in format()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | SQLException.java | 329 Throwable throwable = null; in iterator() local 331 throwable = firstException; in iterator() 335 throwable = cause; in iterator() 339 throwable = nextException; in iterator() 345 return throwable; in iterator()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | NoClassDefFoundError.java | 73 private NoClassDefFoundError(String detailMessage, Throwable throwable) { in NoClassDefFoundError() argument 74 super(detailMessage, throwable); in NoClassDefFoundError()
|
/libcore/ojluni/src/test/java/io/InputStream/ |
D | TransferTo.java | 302 Class<T> throwable, 312 if (!throwable.isInstance(thrown)) { 317 throwable, caught), thrown);
|
/libcore/ojluni/src/test/java/io/Reader/ |
D | TransferTo.java | 326 Class<T> throwable, 336 if (!throwable.isInstance(thrown)) { 341 throwable, caught), thrown);
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Flow.java | 250 public void onError(Throwable throwable); in onError() argument
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
D | PlatformLogger.java | 524 String throwable = ""; in format() local 531 throwable = sw.toString(); in format() 540 throwable); in format() 549 Throwable throwable = new Throwable(); in getCallerInfo() local 563 for (StackTraceElement frame : throwable.getStackTrace()) { in getCallerInfo()
|
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/ |
D | CloseGuardSupport.java | 114 } catch (Throwable throwable) { in apply() 117 thrown = throwable; in apply()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | ConstantBootstraps.java | 427 } catch (Throwable throwable) { in explicitCast() 428 throw new InternalError(throwable); // Not specified, throw InternalError in explicitCast()
|
D | Transformers.java | 229 Throwable throwable = null; in transform() local 233 throwable = t; in transform() 236 final EmulatedStackFrame cleanupFrame = prepareCleanupFrame(callerFrame, throwable); in transform() 246 final Throwable throwable) { in prepareCleanupFrame() argument 252 cleanupWriter.putNextReference(throwable, Throwable.class); in prepareCleanupFrame()
|
/libcore/ojluni/src/main/native/ |
D | jvm.h | 196 JVM_FillInStackTrace(JNIEnv *env, jobject throwable); 199 JVM_PrintStackTrace(JNIEnv *env, jobject throwable, jobject printable); 202 JVM_GetStackTraceDepth(JNIEnv *env, jobject throwable); 205 JVM_GetStackTraceElement(JNIEnv *env, jobject throwable, jint index);
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 380 thread.setUncaughtExceptionHandler((t, throwable) -> pendingThrowable.set(throwable)); in testExistsOnSystem()
|
/libcore/tools/non-cts-json-generator/src/libcore/tools/generator/noncts/ |
D | Main.java | 125 public void info(String message, Throwable throwable) {} in readBaseExpectationStore()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTest.java | 1320 private String printStackTraceToString(Throwable throwable) { in printStackTraceToString() argument 1322 throwable.printStackTrace(new PrintWriter(writer)); in printStackTraceToString()
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |