/external/easymock/src/org/easymock/internal/ |
H A D | ThrowableWrapper.java | 22 private final Throwable throwable;
field in class:ThrowableWrapper 24 public ThrowableWrapper(final Throwable throwable) {
argument 25 this.throwable = throwable;
29 return throwable;
|
H A D | ILegacyMethods.java | 21 void setDefaultThrowable(Throwable throwable);
argument
|
H A D | IMocksControlState.java | 28 void andThrow(Throwable throwable);
argument 36 void andStubThrow(Throwable throwable);
argument
|
H A D | RecordState.java | 103 public void andThrow(Throwable throwable) {
argument 105 requireValidThrowable(throwable);
109 lastResult = Result.createThrowResult(throwable);
172 public void andStubThrow(Throwable throwable) {
argument 174 requireValidThrowable(throwable);
178 behavior.addStub(lastInvocation, Result.createThrowResult(throwable));
183 public void setDefaultThrowable(Throwable throwable) {
argument 185 requireValidThrowable(throwable);
191 .createThrowResult(throwable));
299 private void requireValidThrowable(Throwable throwable) {
argument 350 isValidThrowable(Throwable throwable) argument [all...] |
/external/guava/guava/src/com/google/common/base/ |
H A D | Throwables.java | 42 * Propagates {@code throwable} exactly as-is, if and only if it is an 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 an 78 public static void propagateIfPossible(@Nullable Throwable throwable) { argument 79 propagateIfInstanceOf(throwable, Error.class); 80 propagateIfInstanceOf(throwable, RuntimeException.class); 84 * Propagates {@code throwable} exactl 56 propagateIfInstanceOf( @ullable Throwable throwable, Class<X> declaredType) argument 102 propagateIfPossible( @ullable Throwable throwable, Class<X> declaredType) argument 123 propagateIfPossible(@ullable Throwable throwable, Class<X1> declaredType1, Class<X2> declaredType2) argument 154 propagate(Throwable throwable) argument 168 getRootCause(Throwable throwable) argument 194 getCausalChain(Throwable throwable) argument 211 getStackTraceAsString(Throwable throwable) argument [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
H A D | TestErrorException.java | 58 * @param throwable exception to enwrap 60 public TestErrorException(String message, Throwable throwable) { argument 61 super(message, throwable); 67 * @param throwable exception to enwrap 69 public TestErrorException(Throwable throwable) { argument 70 super(throwable);
|
H A D | LogWriter.java | 74 * @param throwable exception to be printed 76 public abstract void printError(String message, Throwable throwable); argument 81 * @param throwable exception to be printed 83 public abstract void printError(Throwable throwable); argument
|
/external/mockito/src/org/mockito/internal/exceptions/ |
H A D | ExceptionIncludingMockitoWarnings.java | 10 public ExceptionIncludingMockitoWarnings(String message, Throwable throwable) {
argument 11 super(message, throwable);
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
H A D | ThrowsException.java | 17 private final Throwable throwable;
field in class:ThrowsException 20 public ThrowsException(Throwable throwable) {
argument 21 this.throwable = throwable;
25 if (new MockUtil().isMock(throwable)) {
26 throw throwable;
28 Throwable t = throwable.fillInStackTrace();
34 return throwable;
|
H A D | ThrowsExceptionClass.java | 27 Throwable throwable = (Throwable) ObjenesisHelper.newInstance(throwableClass); 28 throwable.fillInStackTrace(); 29 filter.filter(throwable); 30 throw throwable;
|
H A D | AnswersValidator.java | 78 Throwable throwable = answer.getThrowable();
79 if (throwable == null) {
83 if (throwable instanceof RuntimeException || throwable instanceof Error) {
87 if (!methodInfo.isValidException(throwable)) {
88 reporter.checkedExceptionInvalid(throwable);
|
/external/mockito/src/org/mockito/internal/listeners/ |
H A D | 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) {
argument 41 this.throwable = throwable;
53 return throwable;
57 return throwable != null;
74 if (throwable != null ? !throwable [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowLog.java | 22 public static void e(String tag, String msg, Throwable throwable) { argument 23 addLog(Log.ERROR, tag, msg, throwable); 32 public static void d(String tag, String msg, Throwable throwable) { argument 33 addLog(Log.DEBUG, tag, msg, throwable); 42 public static void i(String tag, String msg, Throwable throwable) { argument 43 addLog(Log.INFO, tag, msg, throwable); 52 public static void v(String tag, String msg, Throwable throwable) { argument 53 addLog(Log.VERBOSE, tag, msg, throwable); 62 public static void w(String tag, Throwable throwable) { argument 63 w(tag, null, throwable); 68 w(String tag, String msg, Throwable throwable) argument 78 wtf(String tag, String msg, Throwable throwable) argument 87 addLog(int level, String tag, String msg, Throwable throwable) argument 95 logToStream(PrintStream ps, int level, String tag, String msg, Throwable throwable) argument 124 public final Throwable throwable; field in class:ShadowLog.LogItem 126 LogItem(int type, String tag, String msg, Throwable throwable) argument [all...] |
/external/mockito/src/org/mockito/internal/exceptions/stacktrace/ |
H A D | ConditionalStackTraceFilter.java | 19 public void filter(Throwable throwable) { argument 23 StackTraceElement[] filtered = filter.filter(throwable.getStackTrace(), true); 24 throwable.setStackTrace(filtered);
|
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/ |
H A D | ProcessInitException.java | 22 * @param throwable The wrapped throwable obj. 24 public ProcessInitException(int errorCode, Throwable throwable) { argument 25 super(null, throwable);
|
/external/droiddriver/src/com/google/android/droiddriver/exceptions/ |
H A D | UnrecoverableException.java | 32 public UnrecoverableException(Throwable throwable) { argument 33 super(throwable);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | SettableFuture.java | 63 * @param throwable the exception the future should hold. 67 public boolean setException(Throwable throwable) { argument 68 return super.setException(throwable);
|
/external/apache-http/src/org/apache/http/util/ |
H A D | ExceptionUtils.java | 72 * If we're running on JDK 1.4 or later, initialize the cause for the given throwable. 74 * @param throwable The throwable. 75 * @param cause The cause of the throwable. 77 public static void initCause(Throwable throwable, Throwable cause) { argument 80 INIT_CAUSE_METHOD.invoke(throwable, new Object[] { cause });
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | LogTest.java | 29 Throwable throwable = new Throwable(); 31 Log.d("tag", "msg", throwable); 33 assertLogged(Log.DEBUG, "tag", "msg", throwable); 45 Throwable throwable = new Throwable(); 47 Log.e("tag", "msg", throwable); 49 assertLogged(Log.ERROR, "tag", "msg", throwable); 61 Throwable throwable = new Throwable(); 63 Log.i("tag", "msg", throwable); 65 assertLogged(Log.INFO, "tag", "msg", throwable); 77 Throwable throwable 166 assertLogged(int type, String tag, String msg, Throwable throwable) argument [all...] |
/external/easymock/src/org/easymock/ |
H A D | MockControl.java | 155 * @param throwable
164 * if throwable is null.
166 public void setThrowable(Throwable throwable) {
argument 169 .andThrow(throwable).once();
210 * @param throwable
221 * if throwable is null.
223 public void setThrowable(Throwable throwable, int times) {
argument 226 .andThrow(throwable).times(times);
287 * @param throwable
288 * throwable th 298 setDefaultThrowable(Throwable throwable) argument 376 setThrowable(Throwable throwable, int minCount, int maxCount) argument 382 setThrowable(Throwable throwable, Range range) argument 549 expectAndThrow(Object ignored, Throwable throwable) argument 563 expectAndThrow(Object ignored, Throwable throwable, Range range) argument 579 expectAndThrow(Object ignored, Throwable throwable, int count) argument 594 expectAndThrow(Object ignored, Throwable throwable, int min, int max) argument 623 expectAndDefaultThrow(Object ignored, Throwable throwable) argument [all...] |
/external/mockito/src/org/mockito/internal/util/junit/ |
H A D | JUnitFailureHacker.java | 18 Throwable throwable = (Throwable) Whitebox.getInternalState(failure, "fThrownException");
23 ExceptionIncludingMockitoWarnings e = new ExceptionIncludingMockitoWarnings(newMessage, throwable);
24 e.setStackTrace(throwable.getStackTrace());
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
H A D | JPDALogWriter.java | 122 * @param throwable 125 public void printError(String message, Throwable throwable) { argument 129 logStream.printStackTrace(getErrorPrefix() + message, throwable); 135 * @param throwable 138 public void printError(Throwable throwable) { argument 139 logStream.printStackTrace(null, throwable); 250 * @param throwable 254 Throwable throwable) { 258 throwable.printStackTrace(outputStream); 253 printStackTrace(String message, Throwable throwable) argument
|
/external/mockito/src/org/mockito/internal/junit/ |
H A D | JUnitTool.java | 29 AssertionError throwable = (AssertionError) clazz.getConstructors()[0].newInstance(message, wanted, actual);
30 return throwable;
|
/external/mockito/src/org/mockito/stubbing/ |
H A D | DeprecatedOngoingStubbing.java | 54 * If throwable is a checked exception then it has to
59 * @param throwable to be thrown on method invocation
63 DeprecatedOngoingStubbing<T> toThrow(Throwable throwable);
argument
|
H A D | VoidMethodStubbable.java | 34 * If throwable is a checked exception then it has to
39 * @param throwable to be thrown on method invocation
43 VoidMethodStubbable<T> toThrow(Throwable throwable);
argument
|