HomeSort by relevance Sort by last modified time
    Searched refs:throwable (Results 1 - 25 of 206) sorted by null

1 2 3 4 5 6 7 8 9

  /external/easymock/src/org/easymock/internal/
ThrowableWrapper.java 18 public class ThrowableWrapper extends Throwable {
22 private final Throwable throwable; field in class:ThrowableWrapper
24 public ThrowableWrapper(final Throwable throwable) {
25 this.throwable = throwable;
28 public Throwable getThrowable() {
29 return throwable;
ILegacyMethods.java 21 void setDefaultThrowable(Throwable throwable);
  /frameworks/base/core/java/android/view/
InflateException.java 28 public InflateException(String detailMessage, Throwable throwable) {
29 super(detailMessage, throwable);
36 public InflateException(Throwable throwable) {
37 super(throwable);
  /external/guava/guava/src/com/google/common/base/
Throwables.java 32 * Static utility methods pertaining to instances of {@link Throwable}.
42 * Propagates {@code throwable} exactly as-is, if and only if it is an
49 * } catch (Throwable t) {
56 public static <X extends Throwable> void propagateIfInstanceOf(
57 @Nullable Throwable throwable, Class<X> declaredType) throws X {
59 if (throwable != null && declaredType.isInstance(throwable)) {
60 throw declaredType.cast(throwable);
65 * Propagates {@code throwable} exactly as-is, if and only if it is a
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
UndeclaredThrowableExceptionTests.java 10 private static EOFException throwable = new EOFException(); field in class:UndeclaredThrowableExceptionTests
17 throwable);
18 assertSame("Wrong cause returned", throwable, ute.getCause());
26 throwable);
27 assertSame("Wrong undeclared throwable returned", throwable, ute
32 * java.lang.reflect.UndeclaredThrowableException#UndeclaredThrowableException(java.lang.Throwable)
36 throwable);
37 assertEquals("Wrong cause returned", throwable, e.getCause());
38 assertEquals("Wrong throwable returned", throwable,
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/exceptions/
BlenderFileException.java 59 * @param throwable
62 public BlenderFileException(Throwable throwable) {
63 super(throwable);
70 * @param throwable
73 public BlenderFileException(String message, Throwable throwable) {
74 super(message, throwable);
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiObjectNotFoundException.java 38 public UiObjectNotFoundException(String detailMessage, Throwable throwable) {
39 super(detailMessage, throwable);
45 public UiObjectNotFoundException(Throwable throwable) {
46 super(throwable);
  /frameworks/uiautomator/core/com/android/uiautomator/core/
UiObjectNotFoundException.java 38 public UiObjectNotFoundException(String detailMessage, Throwable throwable) {
39 super(detailMessage, throwable);
45 public UiObjectNotFoundException(Throwable throwable) {
46 super(throwable);
  /libcore/luni/src/main/java/java/lang/
Error.java 26 * @see Throwable
30 public class Error extends Throwable {
57 * @param throwable
60 public Error(String detailMessage, Throwable throwable) {
61 super(detailMessage, throwable);
68 * @param throwable
71 public Error(Throwable throwable) {
72 super(throwable);
    [all...]
Exception.java 26 * @see Throwable
30 public class Exception extends Throwable {
56 * @param throwable
59 public Exception(String detailMessage, Throwable throwable) {
60 super(detailMessage, throwable);
67 * @param throwable
70 public Exception(Throwable throwable) {
71 super(throwable);
    [all...]
RuntimeException.java 55 * @param throwable
58 public RuntimeException(String detailMessage, Throwable throwable) {
59 super(detailMessage, throwable);
66 * @param throwable
69 public RuntimeException(Throwable throwable) {
70 super(throwable);
  /libcore/luni/src/test/java/libcore/java/lang/
ThrowableTest.java 28 public synchronized Throwable fillInStackTrace() {
45 } catch (Throwable th) {
64 private static class SuppressionsThrowable extends Throwable {
67 public SuppressionsThrowable(String detailMessage, Throwable throwable,
69 super(detailMessage, throwable, enableSuppression, writableStackTrace);
74 Throwable throwable = new Throwable(); local
75 assertSuppressed(throwable);
85 Throwable throwable = new Throwable(); local
94 Throwable throwable = new Throwable(); local
106 Throwable throwable = new SuppressionsThrowable("foo", null, false, true); local
115 Throwable throwable = new Throwable(); local
124 Throwable throwable = new Throwable(); local
133 Throwable throwable = newThrowable("Throwable", "A", "B"); local
146 Throwable throwable = newThrowable("Throwable", "A", "B"); local
169 Throwable throwable = newThrowable("Throwable", "A", "B"); local
207 Throwable throwable = new Throwable(); local
231 Throwable throwable = newThrowable("Throwable", "A", "B"); local
259 Throwable throwable = newThrowable("Serialized", "A", "B"); local
274 Throwable throwable = new SuppressionsThrowable("foo", null, false, true); local
303 Throwable throwable = new SuppressionsThrowable("foo", null, true, true); local
    [all...]
  /external/mockito/src/org/mockito/internal/exceptions/
ExceptionIncludingMockitoWarnings.java 10 public ExceptionIncludingMockitoWarnings(String message, Throwable throwable) {
11 super(message, throwable);
  /external/mockito/src/org/mockito/internal/stubbing/answers/
ThrowsException.java 17 private final Throwable throwable; field in class:ThrowsException
20 public ThrowsException(Throwable throwable) {
21 this.throwable = throwable;
24 public Object answer(InvocationOnMock invocation) throws Throwable {
25 if (new MockUtil().isMock(throwable)) {
26 throw throwable;
28 Throwable t = throwable.fillInStackTrace();
    [all...]
  /external/mockito/src/org/mockito/internal/listeners/
NotifiedMethodInvocationReport.java 17 private Throwable throwable; field in class:NotifiedMethodInvocationReport
37 * @param throwable Tha throwable raised by the method invocation
39 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) {
41 this.throwable = throwable;
52 public Throwable getThrowable() {
53 return throwable;
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLog.java 22 public static void e(String tag, String msg, Throwable throwable) {
23 addLog(Log.ERROR, tag, msg, throwable);
32 public static void d(String tag, String msg, Throwable throwable) {
33 addLog(Log.DEBUG, tag, msg, throwable);
42 public static void i(String tag, String msg, Throwable throwable) {
43 addLog(Log.INFO, tag, msg, throwable);
52 public static void v(String tag, String msg, Throwable throwable)
124 public final Throwable throwable; field in class:ShadowLog.LogItem
    [all...]
  /external/mockito/src/org/mockito/internal/exceptions/stacktrace/
ConditionalStackTraceFilter.java 19 public void filter(Throwable throwable) {
23 StackTraceElement[] filtered = filter.filter(throwable.getStackTrace(), true);
24 throwable.setStackTrace(filtered);