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

1 2 3

  /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);
IMocksControlState.java 22 Object invoke(Invocation invocation) throws Throwable;
28 void andThrow(Throwable throwable);
36 void andStubThrow(Throwable throwable);
RecordState.java 103 public void andThrow(Throwable throwable) {
104 requireMethodCall("Throwable");
105 requireValidThrowable(throwable);
109 lastResult = Result.createThrowResult(throwable);
172 public void andStubThrow(Throwable throwable) {
173 requireMethodCall("stub Throwable");
174 requireValidThrowable(throwable);
178 behavior.addStub(lastInvocation, Result.createThrowResult(throwable));
    [all...]
  /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);
  /dalvik/libcore/luni/src/main/java/java/lang/
Error.java 26 * @see Throwable
30 public class Error extends Throwable {
58 * @param throwable
61 public Error(String detailMessage, Throwable throwable) {
62 super(detailMessage, throwable);
69 * @param throwable
72 public Error(Throwable throwable) {
73 super(throwable);
    [all...]
Exception.java 26 * @see Throwable
30 public class Exception extends Throwable {
57 * @param throwable
60 public Exception(String detailMessage, Throwable throwable) {
61 super(detailMessage, throwable);
68 * @param throwable
71 public Exception(Throwable throwable) {
72 super(throwable);
    [all...]
RuntimeException.java 56 * @param throwable
59 public RuntimeException(String detailMessage, Throwable throwable) {
60 super(detailMessage, throwable);
67 * @param throwable
70 public RuntimeException(Throwable throwable) {
71 super(throwable);
  /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...]
  /packages/apps/Email/src/com/android/email/mail/
CertificateValidationException.java 26 public CertificateValidationException(String message, Throwable throwable) {
27 super(message, throwable);
NoSuchProviderException.java 26 public NoSuchProviderException(String message, Throwable throwable) {
27 super(message, throwable);
AuthenticationFailedException.java 26 public AuthenticationFailedException(String message, Throwable throwable) {
27 super(message, throwable);
MessagingException.java 60 public MessagingException(String message, Throwable throwable) {
61 super(message, throwable);
  /dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
UndeclaredThrowableExceptionTests.java 16 private static EOFException throwable = new EOFException(); field in class:UndeclaredThrowableExceptionTests
29 throwable);
30 assertSame("Wrong cause returned", throwable, ute.getCause());
44 throwable);
45 assertSame("Wrong undeclared throwable returned", throwable, ute
50 * @tests java.lang.reflect.UndeclaredThrowableException#UndeclaredThrowableException(java.lang.Throwable)
56 args = {java.lang.Throwable.class}
60 throwable);
61 assertEquals("Wrong cause returned", throwable, e.getCause())
    [all...]
  /dalvik/libcore/luni-kernel/src/main/java/java/lang/
Throwable.java 30 * circumstances in which the {@code Throwable} was created (basically an error
34 * A {@code Throwable} can also include a cause, which is a nested {@code
35 * Throwable} that represents the original problem that led to this {@code
36 * Throwable}. It is often used for wrapping various types of errors into a
37 * common {@code Throwable} without losing the detailed original error
47 public class Throwable implements java.io.Serializable {
56 * The cause of this Throwable. Null when there is no cause.
58 private Throwable cause = this;
74 * Constructs a new {@code Throwable} that includes the current stack trace.
78 public Throwable() {
283 Throwable throwable = getCause(); local
320 Throwable throwable = getCause(); local
    [all...]
  /frameworks/base/awt/java/awt/event/
InvocationEvent.java 51 private Throwable throwable; field in class:InvocationEvent
78 throwable = null;
88 } catch (Throwable t) {
89 throwable = t;
109 return (throwable != null && throwable instanceof Exception) ?
110 (Exception)throwable : null;
113 public Throwable getThrowable() {
114 return throwable;
    [all...]
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
NotImplementedException.java 83 * @param throwable
85 public NotImplementedException(String detailMessage, Throwable throwable) {
86 super(detailMessage, throwable);
92 * @param throwable
94 public NotImplementedException(Throwable throwable) {
95 super(throwable);
  /dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/
LocalizedException.java 12 private Throwable cause;
27 * @param throwable the cause
29 public LocalizedException(ErrorBundle message, Throwable throwable)
33 this.cause = throwable;
45 public Throwable getCause()
  /external/apache-http/src/org/apache/http/util/
ExceptionUtils.java 45 /** A reference to Throwable's initCause method, or null if it's not there in this JVM */
50 * {@link Throwable#initCause(Throwable) initCause} method of {@link Throwable},
54 * @return A <code>Method<code> for <code>Throwable.initCause</code>, or
59 Class[] paramsClasses = new Class[] { Throwable.class };
60 return Throwable.class.getMethod("initCause", paramsClasses);
67 * If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
69 * @param throwable The throwable
    [all...]
  /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;
  /external/easymock/src/org/easymock/
MockControl.java 153 * will react by throwing the provided Throwable.
155 * @param throwable
156 * the Throwable to throw.
162 * provided Throwable.
164 * if throwable is null.
166 public void setThrowable(Throwable throwable) {
168 "method call on the mock needed before setting Throwable")
169 .andThrow(throwable).once();
208 * number of times, and will react by throwing the provided Throwable.
    [all...]
IExpectationSetters.java 37 * Sets a throwable that will be thrown for the expected invocation.
39 * @param throwable
40 * the throwable to throw.
43 IExpectationSetters<T> andThrow(Throwable throwable);
77 * Sets a stub throwable that will be thrown for the expected invocation.
79 * @param throwable
80 * the throwable to throw.
82 void andStubThrow(Throwable throwable);
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
CertPathReviewerException.java 15 public CertPathReviewerException(ErrorBundle errorMessage, Throwable throwable)
17 super(errorMessage, throwable);
27 Throwable throwable,
31 super(errorMessage, throwable);
  /dalvik/libcore/luni/src/test/java/com/google/coretests/
CoreTestRunnable.java 106 } catch (Throwable e) {
128 private void runInternally() throws Throwable {
136 private void runExternally() throws Throwable {
137 Throwable throwable = null; local
158 throwable = (Throwable)ois.readObject();
161 throwable = new RuntimeException("Error isolating test: " + program, ex);
167 if (throwable != null) {
168 throw throwable;
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/
RuimPhoneBookInterfaceManager.java 46 } catch (Throwable throwable) {
47 Log.e(LOG_TAG, "Error while finalizing:", throwable);

Completed in 879 milliseconds

1 2 3