Home
last modified time | relevance | path

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

123456789

/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.java74 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
102 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
128 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
158 public static void propagateIfPossible(@CheckForNull Throwable throwable) { in propagateIfPossible()
183 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
201 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
240 public static RuntimeException propagate(Throwable throwable) { in propagate()
255 public static Throwable getRootCause(Throwable throwable) { in getRootCause()
292 public static List<Throwable> getCausalChain(Throwable throwable) { in getCausalChain()
334 Throwable throwable, Class<X> expectedCauseType) { in getCauseAs()
[all …]
/external/guava/android/guava/src/com/google/common/base/
DThrowables.java74 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
102 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
128 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
158 public static void propagateIfPossible(@CheckForNull Throwable throwable) { in propagateIfPossible()
183 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
201 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
240 public static RuntimeException propagate(Throwable throwable) { in propagate()
255 public static Throwable getRootCause(Throwable throwable) { in getRootCause()
292 public static List<Throwable> getCausalChain(Throwable throwable) { in getCausalChain()
334 Throwable throwable, Class<X> expectedCauseType) { in getCauseAs()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java32 Throwable throwable = new Throwable(); in d_shouldLogAppropriately_withThrowable() local
48 Throwable throwable = new Throwable(); in e_shouldLogAppropriately_withThrowable() local
64 Throwable throwable = new Throwable(); in i_shouldLogAppropriately_withThrowable() local
80 Throwable throwable = new Throwable(); in v_shouldLogAppropriately_withThrowable() local
96 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withThrowable() local
105 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withJustThrowable() local
119 Throwable throwable = new Throwable(); in wtf_shouldLogAppropriately_withThrowable() local
130 Throwable throwable = new Throwable(); in wtf_wtfIsFatalIsSet_shouldThrowTerribleFailure() local
246 private void assertLogged(int type, String tag, String msg, Throwable throwable) { in assertLogged()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java33 Throwable throwable = new Throwable(); in d_shouldLogAppropriately_withThrowable() local
49 Throwable throwable = new Throwable(); in e_shouldLogAppropriately_withThrowable() local
65 Throwable throwable = new Throwable(); in i_shouldLogAppropriately_withThrowable() local
81 Throwable throwable = new Throwable(); in v_shouldLogAppropriately_withThrowable() local
97 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withThrowable() local
106 Throwable throwable = new Throwable(); in w_shouldLogAppropriately_withJustThrowable() local
120 Throwable throwable = new Throwable(); in wtf_shouldLogAppropriately_withThrowable() local
131 Throwable throwable = new Throwable(); in wtf_wtfIsFatalIsSet_shouldThrowTerribleFailure() local
241 private static void assertLogged(int type, String tag, String msg, Throwable throwable) { in assertLogged()
250 String timeString, int type, String tag, String msg, Throwable throwable) { in assertLogged()
/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_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/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/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLog.java41 protected static int e(String tag, String msg, Throwable throwable) { in e()
51 protected static int d(String tag, String msg, Throwable throwable) { in d()
61 protected static int i(String tag, String msg, Throwable throwable) { in i()
71 protected static int v(String tag, String msg, Throwable throwable) { in v()
81 protected static int w(String tag, Throwable throwable) { in w()
86 protected static int w(String tag, String msg, Throwable throwable) { in w()
96 protected static int wtf(String tag, String msg, Throwable throwable) { in wtf()
136 private static int addLog(int level, String tag, String msg, Throwable throwable) { in addLog()
159 …e static void logToStream(PrintStream ps, int level, String tag, String msg, Throwable throwable) { in logToStream()
241 public final Throwable throwable; field in ShadowLog.LogItem
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLog.java49 protected static int e(String tag, String msg, Throwable throwable) { in e()
59 protected static int d(String tag, String msg, Throwable throwable) { in d()
69 protected static int i(String tag, String msg, Throwable throwable) { in i()
79 protected static int v(String tag, String msg, Throwable throwable) { in v()
89 protected static int w(String tag, Throwable throwable) { in w()
94 protected static int w(String tag, String msg, Throwable throwable) { in w()
104 protected static int wtf(String tag, String msg, Throwable throwable) { in wtf()
149 private static int addLog(int level, String tag, String msg, Throwable throwable) { in addLog()
192 PrintStream ps, String timeString, int level, String tag, String msg, Throwable throwable) { in logToStream()
275 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/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DLog.java32 Throwable throwable = throwableSupplier.get(); in error() local
45 private void printStackTrace(Throwable throwable) { in printStackTrace()
123 public static void error(Throwable throwable) { in error()
131 public static void error(Throwable throwable, String format, Supplier<Object>... args) { in error()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DXLogger.java157 public <T extends Throwable> T throwing(T throwable) { in throwing()
172 public <T extends Throwable> T throwing(Level level, T throwable) { in throwing()
185 public void catching(Throwable throwable) { in catching()
199 public void catching(Level level, Throwable throwable) { in catching()
/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DTestErrorException.java60 public TestErrorException(String message, Throwable throwable) { in TestErrorException()
69 public TestErrorException(Throwable throwable) { in TestErrorException()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DThrowsException.java23 private final Throwable throwable; field in ThrowsException
31 public ThrowsException(Throwable throwable) { in ThrowsException()

123456789