Home
last modified time | relevance | path

Searched refs:getSuppressed (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DThrowable.java673 for (Throwable se : getSuppressed()) in printStackTrace()
716 for (Throwable se : getSuppressed()) in printEnclosedStackTrace()
1120 public final synchronized Throwable[] getSuppressed() { in getSuppressed() method in Throwable
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamCloseTest.java163 assertTrue(e.getSuppressed().length == n - 1); in assertCascaded()
165 assertTrue(e.getSuppressed()[i].getMessage().equals(String.valueOf(i + 2))); in assertCascaded()
/libcore/luni/src/test/java/libcore/java/lang/
DThrowableTest.java108 Throwable[] mutable = throwable.getSuppressed(); in testGetSuppressedReturnsCopy()
380 assertEquals(Arrays.asList(throwable.getSuppressed()), Arrays.asList(expectedSuppressed)); in assertSuppressed()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThrowable.annotated.java70 …ed java.lang.@libcore.util.NonNull Throwable @libcore.util.NonNull [] getSuppressed() { throw new … in getSuppressed() method in Throwable
/libcore/dalvik/test-rules/src/test/java/libcore/dalvik/system/
DCloseGuardSupportTest.java178 Throwable[] suppressed = exception.getSuppressed(); in checkResourceNotReleased()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThrowable.java140 public final synchronized java.lang.Throwable[] getSuppressed() { in getSuppressed() method in Throwable
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java1049 assertEquals(1, ex1.getSuppressed().length); in testWhenComplete_sourceFailedActionFailed()
1050 assertSame(ex2, ex1.getSuppressed()[0]); in testWhenComplete_sourceFailedActionFailed()