Home
last modified time | relevance | path

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

123456

/external/guava/android/guava/src/com/google/common/base/
DThrowables.java73 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
101 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
127 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
157 public static void propagateIfPossible(@NullableDecl Throwable throwable) { in propagateIfPossible()
182 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
200 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
239 public static RuntimeException propagate(Throwable throwable) { in propagate()
254 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/guava/src/com/google/common/base/
DThrowables.java73 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf()
101 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
127 public static void throwIfUnchecked(Throwable throwable) { in throwIfUnchecked()
157 public static void propagateIfPossible(@Nullable Throwable throwable) { in propagateIfPossible()
182 public static <X extends Throwable> void propagateIfPossible( in propagateIfPossible()
200 public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible( in propagateIfPossible()
239 public static RuntimeException propagate(Throwable throwable) { in propagate()
254 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/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DLog.java90 public static void d(String tag, String message, @Nullable Throwable throwable) { in d()
102 public static void i(String tag, String message, @Nullable Throwable throwable) { in i()
114 public static void w(String tag, String message, @Nullable Throwable throwable) { in w()
126 public static void e(String tag, String message, @Nullable Throwable throwable) { in e()
142 public static String getThrowableString(@Nullable Throwable throwable) { in getThrowableString()
160 private static String appendThrowableString(String message, @Nullable Throwable throwable) { in appendThrowableString()
168 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/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/
DBackgroundExceptionThrower.java27 RuntimeException throwable; field in BackgroundExceptionThrower.ThrowingRunnable
29 ThrowingRunnable(RuntimeException throwable) { in ThrowingRunnable()
40 public static void throwInBackground(RuntimeException throwable) { in throwInBackground()
/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/easymock/src/org/easymock/internal/
DThrowableWrapper.java22 private final Throwable throwable; field in ThrowableWrapper
24 public ThrowableWrapper(final Throwable throwable) { in ThrowableWrapper()
/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/junit-params/src/main/java/junitparams/internal/
DDeferredErrorFrameworkMethod.java15 private final Throwable throwable; field in DeferredErrorFrameworkMethod
18 Throwable throwable) { in DeferredErrorFrameworkMethod()
/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/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/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()
DLogWriter.java76 public abstract void printError(String message, Throwable throwable); in printError()
83 public abstract void printError(Throwable throwable); in printError()
/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/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/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()
/external/vogar/src/vogar/target/junit/
DErrorRunner.java39 private final Throwable throwable; field in ErrorRunner
41 public ErrorRunner(Description description, Throwable throwable) { in ErrorRunner()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DStackTraceElementTest.java11 public String throwable; field in StackTraceElementTest.ErrorObject
19 public ErrorObject(Throwable throwable) { in ErrorObject()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessorException.java27 OptionProcessorException(Element element, Throwable throwable, String message, Object... args) { in OptionProcessorException()
28 super(String.format(message, args), throwable); in OptionProcessorException() local
/external/vogar/src/vogar/target/junit/junit3/
DTestCaseRunnerFactory.java81 Class<? extends Test> testClass, String name, Throwable throwable) { in createFailingTest()
157 private final Throwable throwable; field in TestCaseRunnerFactory.ThrowingStatement
159 public ThrowingStatement(Description description, Throwable throwable) { in ThrowingStatement()
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/
DSharedTestUtilities.java51 ListenableFuture<?> future, Class<? extends Throwable> throwable) { in assertFutureHasException()
73 ListenableFuture<?> future, Class<? extends Throwable> throwable) { in assertFutureDoesNotHaveException()
/external/desugar/java/com/google/devtools/common/options/
DOptionsParsingException.java34 public OptionsParsingException(String message, Throwable throwable) { in OptionsParsingException()
38 public OptionsParsingException(String message, String argument, Throwable throwable) { in OptionsParsingException()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DFutureWrapper.java48 Throwable throwable = ParcelUtilities.readThrowableFromParcel(exception); in onException() local
52 public abstract void onException(Throwable throwable); in onException()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DFormattingTuple.java37 private Throwable throwable; field in FormattingTuple
44 public FormattingTuple(String message, Object[] argArray, Throwable throwable) { in FormattingTuple()

123456