Home
last modified time | relevance | path

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

12345678910>>...13

/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/exception/
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 …]
/external/truth/core/src/test/java/com/google/common/truth/
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 …]
/external/guava/guava/src/com/google/common/base/
DThrowables.java76 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
105 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
131 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
151 public static void propagateIfPossible(@CheckForNull Throwable throwable) { in propagateIfPossible()
169 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
188 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
229 public static RuntimeException propagate(Throwable throwable) { in propagate()
244 public static Throwable getRootCause(Throwable throwable) { in getRootCause()
281 public static List<Throwable> getCausalChain(Throwable throwable) { in getCausalChain()
324 Throwable throwable, Class<X> expectedCauseType) { in getCauseAs()
[all …]
/external/guava/android/guava/src/com/google/common/base/
DThrowables.java76 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
105 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
131 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
151 public static void propagateIfPossible(@CheckForNull Throwable throwable) { in propagateIfPossible()
169 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
188 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
229 public static RuntimeException propagate(Throwable throwable) { in propagate()
244 public static Throwable getRootCause(Throwable throwable) { in getRootCause()
281 public static List<Throwable> getCausalChain(Throwable throwable) { in getCausalChain()
324 Throwable throwable, Class<X> expectedCauseType) { in getCauseAs()
[all …]
/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/
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 …]
/external/aws-sdk-java-v2/utils/src/main/java/software/amazon/awssdk/utils/
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
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java37 Throwable throwable = new Throwable(); in d_shouldLogAppropriately_withThrowable() local
53 Throwable throwable = new Throwable(); in e_shouldLogAppropriately_withThrowable() local
69 Throwable throwable = new Throwable(); in i_shouldLogAppropriately_withThrowable() local
85 Throwable throwable = new Throwable(); in v_shouldLogAppropriately_withThrowable() local
101 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withThrowable() local
110 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withJustThrowable() local
124 Throwable throwable = new Throwable(); in wtf_shouldLogAppropriately_withThrowable() local
135 Throwable throwable = new Throwable(); in wtf_wtfIsFatalIsSet_shouldThrowTerribleFailure() local
143 Throwable throwable = new Throwable(); in wtf_shouldLogAppropriately_withNewWtfHandler() local
265 private static void assertLogged(int type, String tag, String msg, Throwable throwable) { in assertLogged()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/drm/
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()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/drm/
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()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/
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()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/
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()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
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()
170 private static int addLog(int level, String tag, String msg, Throwable throwable) { in addLog()
213 PrintStream ps, String timeString, int level, String tag, String msg, Throwable throwable) { in logToStream()
297 public final Throwable throwable; field in ShadowLog.LogItem
[all …]
/external/easymock/src/org/easymock/
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()
/external/aws-sdk-java-v2/core/aws-core/src/test/java/software/amazon/awssdk/awscore/interceptor/
DHelpfulUnknownHostExceptionInterceptorTest.java91 private void doesNotHaveMessageContaining(Throwable throwable, String value) { in doesNotHaveMessageContaining()
95 private Throwable modifyException(Throwable throwable) { in modifyException()
99 private Throwable modifyException(Throwable throwable, Region clientRegion) { in modifyException()
103 …private Throwable modifyException(Throwable throwable, Region clientRegion, String serviceEndpoint… in modifyException()
/external/accessibility-test-framework/src/main/java/com/google/android/libraries/accessibility/utils/log/
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()
/external/aws-sdk-java-v2/bundle-logging-bridge/src/main/java/software/amazon/awssdk/thirdparty/org/slf4j/impl/internal/
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 …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/downloader/offroad/
DExceptionHandler.java68 public DownloadException mapToDownloadException(String message, Throwable throwable) { in mapToDownloadException()
88 private DownloadResultCode mapExceptionToDownloadResultCode(Throwable throwable, int iteration) { in mapExceptionToDownloadResultCode()
148 default DownloadResultCode mapFromNetworkStackException(Throwable throwable) { in mapFromNetworkStackException()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/
DAggregateExceptionTest.java50 Throwable throwable = AggregateException.unwrapException(executionException3); in unwrapException_recursivelyUnwrapExecutionException() local
65 Throwable throwable = AggregateException.unwrapException(downloadException); in unwrapException_keepOtherExceptions() local
73 Throwable throwable = in throwableToString_maxCauseDepthCutoff() local
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDALogWriter.java128 public void printError(String message, Throwable throwable) { in printError()
132 logStream.printStackTrace(getErrorPrefix() + message, throwable); in printError() local
142 public void printError(Throwable throwable) { in printError()
260 Throwable throwable) { in printStackTrace()
/external/easymock/src/org/easymock/internal/
DThrowableWrapper.java22 private final Throwable throwable; field in ThrowableWrapper
24 public ThrowableWrapper(final Throwable throwable) { in ThrowableWrapper()
/external/junit-params/src/main/java/junitparams/internal/
DDeferredErrorFrameworkMethod.java15 private final Throwable throwable; field in DeferredErrorFrameworkMethod
18 Throwable throwable) { in DeferredErrorFrameworkMethod()
/external/dagger2/java/dagger/producers/
DProduced.java77 public static <T> Produced<T> failed(Throwable throwable) { in failed()
118 private final Throwable throwable; field in Produced.Failed
120 private Failed(Throwable throwable) { in Failed()
/external/cbor-java/src/test/java/co/nstant/in/cbor/
DCborExceptionTest.java16 Throwable throwable = new Throwable(); in shouldHaveThrowable() local
23 Throwable throwable = new Throwable(); in shouldHaveMessageAndThrowable() local
/external/gson/gson/src/main/java/com/google/gson/stream/
DMalformedJsonException.java32 public MalformedJsonException(String msg, Throwable throwable) { in MalformedJsonException()
36 public MalformedJsonException(Throwable throwable) { in MalformedJsonException()
/external/aws-sdk-java-v2/test/stability-tests/src/it/java/software/amazon/awssdk/stability/tests/utils/
DTestEventStreamingResponseHandler.java38 public void exceptionOccurred(Throwable throwable) { in exceptionOccurred()
39 log.error(() -> "An exception was thrown " + throwable.getMessage(), throwable); in exceptionOccurred() local

12345678910>>...13