/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;
|
/cts/tests/tests/view/src/android/view/cts/ |
InflateExceptionTest.java | 44 args = {java.lang.String.class, java.lang.Throwable.class} 50 args = {java.lang.Throwable.class} 70 Throwable throwable = new Exception(); local 75 ne = new InflateException(detailMessage, throwable); 103 ne = new InflateException(throwable);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
InvalidPropertiesFormatExceptionTest.java | 40 * @tests {@link java.util.InvalidPropertiesFormatException#InvalidPropertiesFormatException(Throwable)} 43 Throwable throwable = new Throwable(); local 45 throwable); 47 throwable, exception.getCause());
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ThrowableTest.java | 28 public synchronized Throwable fillInStackTrace() { 41 private static class SuppressionsThrowable extends Throwable { 42 public SuppressionsThrowable(String detailMessage, Throwable throwable, 44 super(detailMessage, throwable, enableSuppression); 49 Throwable throwable = new Throwable(); local 50 assertSuppressed(throwable); 51 Throwable suppressedA = new Throwable() 60 Throwable throwable = new Throwable(); local 69 Throwable throwable = new Throwable(); local 81 Throwable throwable = new SuppressionsThrowable("foo", null, false); local 90 Throwable throwable = new Throwable(); local 99 Throwable throwable = new Throwable(); local 108 Throwable throwable = newThrowable("Throwable", "A", "B"); local 121 Throwable throwable = newThrowable("Throwable", "A", "B"); local 144 Throwable throwable = newThrowable("Throwable", "A", "B"); local 182 Throwable throwable = new Throwable(); local 206 Throwable throwable = newThrowable("Throwable", "A", "B"); local 234 Throwable throwable = newThrowable("Serialized", "A", "B"); local 249 Throwable throwable = new SuppressionsThrowable("foo", null, false); local 278 Throwable throwable = new SuppressionsThrowable("foo", null, true); local [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...] |
/sdk/layoutlib_api/sample/src/com/example/android/render/ |
StdOutLogger.java | 43 public void error(String tag, String message, Throwable throwable, Object data) { 45 throwable.printStackTrace(); 49 public void fidelityWarning(String tag, String message, Throwable throwable, Object data) { 55 if (throwable != null) { 56 throwable.printStackTrace(); 62 fidelityWarning(tag, message, null /*throwable*/, data); 67 public void error(Throwable t, String errorFormat, Object... args) {
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/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;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
RuntimeExceptionTest.java | 44 * @tests {@link java.lang.RuntimeException#RuntimeException(Throwable)} 47 Throwable emptyThrowable = new Exception(); 53 Throwable throwable = new Exception("msg"); local 54 RuntimeException exception = new RuntimeException(throwable); 55 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 56 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); 57 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString());
|
IllegalStateExceptionTest.java | 46 * @tests {@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 * @tests {@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 * @tests {@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 * @tests {@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...] |
/external/guava/src/com/google/common/base/ |
Throwables.java | 26 * Static utility methods pertaining to instances of {@link Throwable}. 36 * Propagates {@code throwable} exactly as-is, if and only if it is an 43 * } catch (Throwable t) { 50 public static <X extends Throwable> void propagateIfInstanceOf( 51 Throwable throwable, Class<X> declaredType) throws X { 52 if (declaredType.isInstance(throwable)) { 53 throw declaredType.cast(throwable); 58 * Propagates {@code throwable} exactly as-is, if and only if it is an 65 * } catch (Throwable t) [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
MessageBoxLog.java | 65 public void error(Throwable throwable, String errorFormat, Object... arg) { 70 if (throwable != null) { 71 logMessages.add(throwable.getMessage());
|
/cts/tests/src/android/app/cts/ |
IntentServiceStub.java | 40 private static Throwable throwable; field in class:IntentServiceStub 49 throwable = null; 52 public static void waitToFinish(long timeout) throws Throwable { 59 if (throwable != null) { 60 throw throwable; 72 } catch (Throwable t) { 73 throwable = t;
|
/libcore/luni/src/main/java/java/lang/ |
Throwable.java | 34 * circumstances in which the {@code Throwable} was created (basically an error 38 * A {@code Throwable} can also include a cause, which is a nested {@code 39 * Throwable} that represents the original problem that led to this {@code 40 * Throwable}. It is often used for wrapping various types of errors into a 41 * common {@code Throwable} without losing the detailed original error 49 public class Throwable implements java.io.Serializable { 58 * The cause of this Throwable. Null when there is no cause. 60 private Throwable cause = this; 63 * Throwables suppressed by this throwable. Null when suppressed exceptions 66 private List<Throwable> suppressedExceptions = new ArrayList<Throwable>() [all...] |
/dalvik/vm/ |
Exception.cpp | 33 with a Throwable at the time the Throwable is constructed. The construction 37 (1) A Throwable is created with a "new Throwable" statement in the 49 because it'll get overwritten as soon as the Throwable constructor starts 79 before the Throwable construction can overwrite the copy in Thread. One 92 in the Throwable). 210 "(Ljava/lang/String;Ljava/lang/Throwable;)V"); 223 "(Ljava/lang/Object;Ljava/lang/Throwable;)V"); 230 excepClass, "<init>", "(Ljava/lang/Throwable;)V") 634 ClassObject* throwable = local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
TransformerHandlerImpl.java | 152 catch(Throwable throwable) 154 throwable.printStackTrace();
|
TransformerIdentityImpl.java | 489 Throwable throwable = wre.getException(); local 491 while (throwable 494 throwable = 495 ((org.apache.xml.utils.WrappedRuntimeException) throwable).getException(); [all...] |
TransformerImpl.java | 652 Throwable throwable = wre.getException(); local 654 while (throwable 657 throwable = 658 ((org.apache.xml.utils.WrappedRuntimeException) throwable).getException(); 661 fatalError(throwable); 682 private void fatalError(Throwable throwable) throws TransformerException 684 if (throwable instanceof org.xml.sax.SAXParseException) 685 m_errorHandler.fatalError(new TransformerException(throwable.getMessage(),new SAXSourceLocator((org.xml.sax.SAXParseException)throwable))) [all...] |
/prebuilt/common/layoutlib_api/ |
layoutlib_api-prebuilt.jar | |
/frameworks/base/core/java/android/webkit/ |
WebViewCore.java | 1671 Throwable throwable = new Throwable( local [all...] |
/prebuilt/common/http-client/ |
commons-logging-1.1.1.jar | |
/prebuilt/common/osgi/ |
osgi.jar | |
/libcore/support/src/test/java/tests/resources/ |
junit4-4.3.1.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |