/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/harmony-tests/src/test/java/org/apache/harmony/tests/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
TestErrorException.java | 58 * @param throwable exception to enwrap 60 public TestErrorException(String message, Throwable throwable) { 61 super(message, throwable); 67 * @param throwable exception to enwrap 69 public TestErrorException(Throwable throwable) { 70 super(throwable);
|
/frameworks/base/cmds/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);
|
/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);
|
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/ |
ProcessInitException.java | 22 * @param throwable The wrapped throwable obj. 24 public ProcessInitException(int errorCode, Throwable throwable) { 25 super(null, throwable);
|
/external/droiddriver/src/com/google/android/droiddriver/exceptions/ |
UnrecoverableException.java | 32 public UnrecoverableException(Throwable throwable) { 33 super(throwable);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
SettableFuture.java | 23 * or {@link #setException(Throwable)} call. It may also be cancelled. 63 * @param throwable the exception the future should hold. 67 public boolean setException(Throwable throwable) { 68 return super.setException(throwable);
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
FutureWaiter.java | 24 * also exposes the protected {@link AbstractFuture#setException(Throwable)} method. 44 public boolean setException(Throwable throwable) { 45 return super.setException(throwable);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
AuthenticationFailedException.java | 31 public AuthenticationFailedException(String message, Throwable throwable) { 32 super(MessagingException.AUTHENTICATION_FAILED, message, throwable);
|
CertificateValidationException.java | 27 public CertificateValidationException(String message, Throwable throwable) { 28 super(MessagingException.CERTIFICATE_VALIDATION_ERROR, message, throwable);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
IllegalStateExceptionTest.java | 46 * {@link java.land.IllegalStateException#IllIllegalStateException(java.lang.Throwable)} 49 Throwable emptyThrowable = new Exception(); 55 Throwable throwable = new Exception("msg"); local 56 IllegalStateException exception = new IllegalStateException(throwable); 57 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 58 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); 59 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); 63 * {@link java.land.IllegalStateException#IllIllegalStateException(java.lang.String, java.lang.Throwable)} 66 Throwable emptyThrowable = new Exception() 72 Throwable throwable = new Exception("msg_exception"); local [all...] |
UnsupportedOperationExceptionTest.java | 46 * {@link java.land.UnsupportedOperationException#UnsupportedOperationException(java.lang.Throwable)} 49 Throwable emptyThrowable = new Exception(); 56 Throwable throwable = new Exception("msg"); local 57 UnsupportedOperationException exception = new UnsupportedOperationException(throwable); 58 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 59 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); 60 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); 64 * {@link java.land.UnsupportedOperationException#UnsupportedOperationException(java.lang.String, java.lang.Throwable)} 67 Throwable emptyThrowable = new Exception() 74 Throwable throwable = new Exception("msg_exception"); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
LoadLocaleProviderTestHelper.java | 24 private Throwable throwable; field in class:LoadLocaleProviderTestHelper 35 public Throwable getThrowable() { 36 return throwable; 42 } catch (Throwable t) { 43 throwable = t;
|