Home
last modified time | relevance | path

Searched defs:throwable (Results 1 – 25 of 1837) sorted by relevance

12345678910>>...74

/aosp_15_r20/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/exception/
H A DExceptionUtils.java81 private static <R, T extends Throwable> R eraseType(final Throwable throwable) throws T { in eraseType()
114 public static Throwable getCause(final Throwable throwable) { in getCause()
132 public static Throwable getCause(final Throwable throwable, String[] methodNames) { in getCause()
154 …private static Throwable getCauseUsingMethodName(final Throwable throwable, final String methodNam… in getCauseUsingMethodName()
224 public static Throwable getRootCause(final Throwable throwable) { in getRootCause()
240 public static String getRootCauseMessage(final Throwable throwable) { in getRootCauseMessage()
258 public static String[] getRootCauseStackTrace(final Throwable throwable) { in getRootCauseStackTrace()
274 public static List<String> getRootCauseStackTraceList(final Throwable throwable) { in getRootCauseStackTraceList()
310 static List<String> getStackFrameList(final Throwable throwable) { in getStackFrameList()
361 public static String[] getStackFrames(final Throwable throwable) { in getStackFrames()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/stats/
DAdSelectionExecutionLoggerTest.java721 Throwable throwable = in testAdSelectionExecutionLogger_redundantStartOfGetBuyersCustomAudience() local
738 Throwable throwable = in testAdSelectionExecutionLogger_redundantEndOfGetBuyersCustomAudience() local
751 Throwable throwable = in testAdSelectionExecutionLogger_missingStartBiddingStage() local
766 Throwable throwable = in testAdSelectionExecutionLogger_missingGetBuyersCustomAudience() local
786 Throwable throwable = in testAdSelectionExecutionLogger_redundantStartRunAdBidding() local
798 Throwable throwable = in testAdSelectionExecutionLogger_missingStartOfBiddingWithEndBiddingStage() local
814 Throwable throwable = in testAdSelectionExecutionLogger_missingEndOfGetBuyersCAsWithEndRunAdBidding() local
834 Throwable throwable = in testAdSelectionExecutionLogger_missingStartOfRunAdBiddingWithEndRunAdBidding() local
858 Throwable throwable = in testAdSelectionExecutionLogger_redundantEndRunAdBidding() local
1014 Throwable throwable = in testAdSelectionExecutionLogger_redundantStartRunAdScoring() local
[all …]
DRunAdBiddingPerCAExecutionLoggerTest.java510 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_repeatedStartRunAdBiddingPerCA() local
526 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_missingStartRunAdBiddingPerCA() local
545 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_repeatedStartGetBuyerDecisionLogic() local
560 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_missingStartGetBuyerDecisionLogic() local
583 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_repeatedEndGetBuyerDecisionLogic() local
605 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_missingEndGetBuyerDecisionLogic() local
629 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_repeatedStartRunBidding() local
652 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_missingStartRunBidding() local
681 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_repeatedStartGetTrustedBiddingSignals() local
707 Throwable throwable = in testRunAdBiddingPerCAExecutionLogger_missingStartGetTrustedBiddingSignals() local
[all …]
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/lang/
H A DThrowableTest.java76 public SuppressionsThrowable(String detailMessage, Throwable throwable, in SuppressionsThrowable()
83 Throwable throwable = new Throwable(); in testAddSuppressed() local
94 Throwable throwable = new Throwable(); in testAddDuplicateSuppressed() local
103 Throwable throwable = new Throwable(); in testGetSuppressedReturnsCopy() local
115 Throwable throwable = new SuppressionsThrowable("foo", null, false, true); in testAddSuppressedWithSuppressionDisabled() local
124 Throwable throwable = new Throwable(); in testAddSuppressedSelf() local
133 Throwable throwable = new Throwable(); in testAddSuppressedNull() local
142 Throwable throwable = newThrowable("Throwable", "A", "B"); in testPrintStackTraceWithCause() local
155 Throwable throwable = newThrowable("Throwable", "A", "B"); in testPrintStackTraceWithCauseAndSuppressed() local
178 Throwable throwable = newThrowable("Throwable", "A", "B"); in testPrintStackTraceWithEverything() local
[all …]
/aosp_15_r20/external/truth/core/src/test/java/com/google/common/truth/
H A DStackTraceCleanerTest.java62 Throwable throwable = createThrowableWithStackTrace(); in emptyTrace() local
71 Throwable throwable = in collapseStreaks() local
108 Throwable throwable = in dontCollapseStreaksOfOneFrame() local
137 Throwable throwable = in mixedStreaks() local
165 Throwable throwable = in classNestedInSubject() local
180 Throwable throwable = in removesTestingAndReflectiveFramesOnBottom() local
205 Throwable throwable = in packagesAreIgnoredForTestClasses() local
223 Throwable throwable = in allFramesAboveStandardSubjectBuilderCleaned() local
241 Throwable throwable = in allFramesAboveSubjectCleaned() local
259 Throwable throwable = in allFramesBelowJUnitStatementCleaned() local
[all …]
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/
H A DRetryingTest.java116 Throwable throwable = in retry() local
129 Throwable throwable = in retryUsingContext() local
146 Throwable throwable = in retryTotalTimeoutExceeded() local
164 Throwable throwable = in retryUsingContextTotalTimeoutExceeded() local
191 Throwable throwable = in retryMaxAttemptsExceeded() local
203 Throwable throwable = in retryUsingContextMaxAttemptsExceeded() local
224 Throwable throwable = in retryWithinMaxAttempts() local
236 Throwable throwable = in retryUsingContextWithinMaxAttempts() local
252 Throwable throwable = in retryWithOnlyMaxAttempts() local
268 Throwable throwable = in retryUsingContextWithOnlyMaxAttempts() local
[all …]
/aosp_15_r20/external/guava/guava/src/com/google/common/base/
H A DThrowables.java75 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
104 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
130 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
150 public static void propagateIfPossible(@CheckForNull Throwable throwable) { in propagateIfPossible()
171 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
191 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
233 public static RuntimeException propagate(Throwable throwable) { in propagate()
248 public static Throwable getRootCause(Throwable throwable) { in getRootCause()
285 public static List<Throwable> getCausalChain(Throwable throwable) { in getCausalChain()
327 Throwable throwable, Class<X> expectedCauseType) { in getCauseAs()
[all …]
/aosp_15_r20/external/guava/android/guava/src/com/google/common/base/
H A DThrowables.java75 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
104 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
130 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
150 public static void propagateIfPossible(@CheckForNull Throwable throwable) { in propagateIfPossible()
171 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
191 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
233 public static RuntimeException propagate(Throwable throwable) { in propagate()
248 public static Throwable getRootCause(Throwable throwable) { in getRootCause()
285 public static List<Throwable> getCausalChain(Throwable throwable) { in getCausalChain()
327 Throwable throwable, Class<X> expectedCauseType) { in getCauseAs()
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/utils/src/main/java/software/amazon/awssdk/utils/
H A DLogger.java52 public void info(Supplier<String> msg, Throwable throwable) { in info()
54 log.info(msg.get(), throwable); in info() local
73 public void error(Supplier<String> msg, Throwable throwable) { in error()
75 log.error(msg.get(), throwable); in error() local
94 public void debug(Supplier<String> msg, Throwable throwable) { in debug()
96 log.debug(msg.get(), throwable); in debug() local
115 public void warn(Supplier<String> msg, Throwable throwable) { in warn()
117 log.warn(msg.get(), throwable); in warn() local
136 public void trace(Supplier<String> msg, Throwable throwable) { in trace()
138 log.trace(msg.get(), throwable); in trace() local
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowLogTest.java38 Throwable throwable = new Throwable(); in d_shouldLogAppropriately_withThrowable() local
54 Throwable throwable = new Throwable(); in e_shouldLogAppropriately_withThrowable() local
70 Throwable throwable = new Throwable(); in i_shouldLogAppropriately_withThrowable() local
86 Throwable throwable = new Throwable(); in v_shouldLogAppropriately_withThrowable() local
102 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withThrowable() local
111 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withJustThrowable() local
125 Throwable throwable = new Throwable(); in wtf_shouldLogAppropriately_withThrowable() local
136 Throwable throwable = new Throwable(); in wtf_wtfIsFatalIsSet_shouldThrowTerribleFailure() local
144 Throwable throwable = new Throwable(); in wtf_shouldLogAppropriately_withNewWtfHandler() local
267 private static void assertLogged(int type, String tag, String msg, Throwable throwable) { in assertLogged()
[all …]
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowLog.java60 protected static int e(String tag, String msg, Throwable throwable) { in e()
70 protected static int d(String tag, String msg, Throwable throwable) { in d()
80 protected static int i(String tag, String msg, Throwable throwable) { in i()
90 protected static int v(String tag, String msg, Throwable throwable) { in v()
100 protected static int w(String tag, Throwable throwable) { in w()
105 protected static int w(String tag, String msg, Throwable throwable) { in w()
115 protected static int wtf(String tag, String msg, Throwable throwable) { in wtf()
171 private static int addLog(int level, String tag, String msg, Throwable throwable) { in addLog()
227 PrintStream ps, String timeString, int level, String tag, String msg, Throwable throwable) { in logToStream()
311 public final Throwable throwable; field in ShadowLog.LogItem
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/bundle-logging-bridge/src/main/java/software/amazon/awssdk/thirdparty/org/slf4j/impl/internal/
H A DLoggerAdapter.java64 public void trace(String s, Throwable throwable) { in trace()
94 public void trace(Marker marker, String s, Throwable throwable) { in trace()
95 impl.trace(MarkerUtils.asUnshaded(marker), s, throwable); in trace() local
124 public void debug(String s, Throwable throwable) { in debug()
154 public void debug(Marker marker, String s, Throwable throwable) { in debug()
155 impl.debug(MarkerUtils.asUnshaded(marker), s, throwable); in debug() local
184 public void info(String s, Throwable throwable) { in info()
214 public void info(Marker marker, String s, Throwable throwable) { in info()
215 impl.info(MarkerUtils.asUnshaded(marker), s, throwable); in info() local
244 public void warn(String s, Throwable throwable) { in warn()
[all …]
/aosp_15_r20/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
H A DSlogfTest.java74 Throwable throwable = new Throwable(EXCEPTION_MSG); in testV_msg2() local
118 Throwable throwable = new Throwable(EXCEPTION_MSG); in testD_msg2() local
160 Throwable throwable = new Throwable(EXCEPTION_MSG); in testI_msg2() local
204 Throwable throwable = new Throwable(EXCEPTION_MSG); in testW_msg2() local
223 Throwable throwable = new Throwable(EXCEPTION_MSG); in testW_msg4() local
269 Throwable throwable = new Throwable(EXCEPTION_MSG); in testE_msg2() local
325 Throwable throwable = new Throwable(EXCEPTION_MSG); in testWTF_msg2() local
346 Throwable throwable = new Throwable(EXCEPTION_MSG); in testWTF_msg4() local
431 private void assertLogcatStackTrace(Level level, Throwable throwable) { in assertLogcatStackTrace()
/aosp_15_r20/external/easymock/src/org/easymock/
H A DMockControl.java166 public void setThrowable(Throwable throwable) { in setThrowable()
223 public void setThrowable(Throwable throwable, int times) { in setThrowable()
298 public void setDefaultThrowable(Throwable throwable) { in setDefaultThrowable()
376 public void setThrowable(Throwable throwable, int minCount, int maxCount) { in setThrowable()
382 public void setThrowable(Throwable throwable, Range range) { in setThrowable()
549 public void expectAndThrow(Object ignored, Throwable throwable) { in expectAndThrow()
563 public void expectAndThrow(Object ignored, Throwable throwable, Range range) { in expectAndThrow()
579 public void expectAndThrow(Object ignored, Throwable throwable, int count) { in expectAndThrow()
594 public void expectAndThrow(Object ignored, Throwable throwable, int min, in expectAndThrow()
623 public void expectAndDefaultThrow(Object ignored, Throwable throwable) { in expectAndDefaultThrow()
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/
H A DLog.java98 public static void d(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in d()
116 public static void i(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in i()
134 public static void w(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in w()
152 public static void e(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in e()
169 public static String getThrowableString(@Nullable Throwable throwable) { in getThrowableString()
188 private static String appendThrowableString(String message, @Nullable Throwable throwable) { in appendThrowableString()
197 private static boolean isCausedByUnknownHostException(@Nullable Throwable throwable) { in isCausedByUnknownHostException()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/
H A DLog.java90 public static void d(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in d()
104 public static void i(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in i()
118 public static void w(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in w()
132 public static void e(@Size(max = 23) String tag, String message, @Nullable Throwable throwable) { in e()
149 public static String getThrowableString(@Nullable Throwable throwable) { in getThrowableString()
168 private static String appendThrowableString(String message, @Nullable Throwable throwable) { in appendThrowableString()
177 private static boolean isCausedByUnknownHostException(@Nullable Throwable throwable) { in isCausedByUnknownHostException()
/aosp_15_r20/packages/apps/Car/Settings/src/com/android/car/settings/common/
DLogger.java73 public void v(String message, Throwable throwable) { in v()
98 public void d(String message, Throwable throwable) { in d()
123 public void i(String message, Throwable throwable) { in i()
145 public void w(String message, Throwable throwable) { in w()
165 public void e(String message, Throwable throwable) { in e()
186 public void wtf(String message, Throwable throwable) { in wtf()
/aosp_15_r20/external/accessibility-test-framework/src/main/java/com/google/android/libraries/accessibility/utils/log/
H A DLogUtils.java100 public static void v(String tag, Throwable throwable, String format, @Nullable Object... args) { in v()
123 public static void d(String tag, Throwable throwable, String format, @Nullable Object... args) { in d()
146 public static void i(String tag, Throwable throwable, String format, @Nullable Object... args) { in i()
169 public static void w(String tag, Throwable throwable, String format, @Nullable Object... args) { in w()
192 public static void e(String tag, Throwable throwable, String format, @Nullable Object... args) { in e()
215 public static void wtf(String tag, Throwable throwable, String format, @Nullable Object... args) { in wtf()
236 @Nullable Throwable throwable, in log()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/drm/
H A DDrmUtil.java100 public static boolean isNotProvisionedException(@Nullable Throwable throwable) { in isNotProvisionedException()
105 public static boolean isDeniedByServerException(@Nullable Throwable throwable) { in isDeniedByServerException()
114 public static boolean isMediaDrmStateException(@Nullable Throwable throwable) { in isMediaDrmStateException()
120 public static int mediaDrmStateExceptionToErrorCode(Throwable throwable) { in mediaDrmStateExceptionToErrorCode()
132 public static boolean isMediaDrmResetException(@Nullable Throwable throwable) { in isMediaDrmResetException()
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/drm/
H A DDrmUtil.java109 public static boolean isNotProvisionedException(@Nullable Throwable throwable) { in isNotProvisionedException()
114 public static boolean isDeniedByServerException(@Nullable Throwable throwable) { in isDeniedByServerException()
123 public static boolean isMediaDrmStateException(@Nullable Throwable throwable) { in isMediaDrmStateException()
129 Throwable throwable) { in mediaDrmStateExceptionToErrorCode()
141 public static boolean isMediaDrmResetException(@Nullable Throwable throwable) { in isMediaDrmResetException()
/aosp_15_r20/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
H A DApiFileTest.kt103 val throwable = codebase.assertClass("java.lang.Throwable") in <lambda>() constant
144 val throwable = codebase.assertClass("java.lang.Throwable", expectedEmit = false) in <lambda>() constant
169 val throwable = codebase.assertResolvedClass("java.lang.Throwable") in <lambda>() constant
194 val throwable = codebase.assertResolvedClass("java.lang.Throwable") in <lambda>() constant
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
H A DFunctionsTest.java121 public void setThrowable(final Throwable throwable) { in setThrowable()
136 private Throwable throwable; field in FunctionsTest.Testable
138 Testable(final Throwable throwable) { in Testable()
154 public void setThrowable(final Throwable throwable) { in setThrowable()
167 public void test(final Throwable throwable) throws Throwable { in test()
177 public boolean testAsBooleanPrimitive(final Throwable throwable) throws Throwable { in testAsBooleanPrimitive()
188 public double testAsDoublePrimitive(final Throwable throwable) throws Throwable { in testAsDoublePrimitive()
199 public Integer testAsInteger(final Throwable throwable) throws Throwable { in testAsInteger()
210 public int testAsIntPrimitive(final Throwable throwable) throws Throwable { in testAsIntPrimitive()
221 public long testAsLongPrimitive(final Throwable throwable) throws Throwable { in testAsLongPrimitive()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationTest.java377 private void stubMockFailureListeners(Throwable throwable) throws IOException { in stubMockFailureListeners()
381 private void verifyMockFailureListeners(Throwable throwable) throws IOException { in verifyMockFailureListeners()
385 private void stubMockFailureListenersAny(Throwable throwable, boolean stubFailures) in stubMockFailureListenersAny()
390 private void verifyMockFailureListenersAny(Throwable throwable, boolean stubFailures) in verifyMockFailureListenersAny()
396 Throwable throwable, boolean stubFailures, boolean reportHostLog) throws IOException { in stubMockFailureListeners()
401 Throwable throwable, boolean stubFailures, boolean reportHostLog) throws IOException { in verifyMockFailureListeners()
534 Throwable throwable, in stubMockListeners()
617 Throwable throwable, in verifyMockListeners()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/utils/
H A DSlogf.java152 public static void v(String tag, Throwable throwable, String format, @Nullable Object... args) { in v()
162 public static void d(String tag, Throwable throwable, String format, @Nullable Object... args) { in d()
172 public static void i(String tag, Throwable throwable, String format, @Nullable Object... args) { in i()
182 public static void w(String tag, Throwable throwable, String format, @Nullable Object... args) { in w()
192 public static void e(String tag, Throwable throwable, String format, @Nullable Object... args) { in e()
202 public static void wtf(String tag, Throwable throwable, String format, in wtf()
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/graph/
H A DTestUtil.java42 static void assertNodeNotInGraphErrorMessage(Throwable throwable) { in assertNodeNotInGraphErrorMessage()
47 static void assertEdgeNotInGraphErrorMessage(Throwable throwable) { in assertEdgeNotInGraphErrorMessage()
52 static void assertNodeRemovedFromGraphErrorMessage(Throwable throwable) { in assertNodeRemovedFromGraphErrorMessage()
57 static void assertEdgeRemovedFromGraphErrorMessage(Throwable throwable) { in assertEdgeRemovedFromGraphErrorMessage()

12345678910>>...74