/external/droiddriver/src/io/appium/droiddriver/exceptions/ |
H A D | UnrecoverableException.java | 32 public UnrecoverableException(Throwable throwable) { argument 33 super(throwable);
|
H A D | DroidDriverException.java | 40 * Propagates {@code throwable} as-is if it is an instance of {@link RuntimeException} or {@link 57 * @param throwable the Throwable to propagate 61 public static DroidDriverException propagate(Throwable throwable) { argument 62 if (throwable instanceof RuntimeException) { 63 throw (RuntimeException) throwable; 65 if (throwable instanceof Error) { 66 throw (Error) throwable; 68 throw new DroidDriverException(throwable);
|
/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 | Result.java | 36 public static Result createThrowResult(final Throwable throwable) {
argument 42 throw throwable;
47 return "Answer throwing " + throwable;
|
/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/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/guice/core/src/com/google/inject/internal/ |
H A D | Exceptions.java | 34 public static RuntimeException rethrowCause(Throwable throwable) { argument 35 Throwable cause = throwable; 43 public static RuntimeException rethrow(Throwable throwable) { argument 44 if(throwable instanceof RuntimeException) { 45 throw (RuntimeException)throwable; 46 } else if(throwable instanceof Error) { 47 throw (Error)throwable; 49 throw new UnhandledCheckedUserException(throwable);
|
/external/libmojo/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/mockito/src/main/java/org/mockito/internal/exceptions/ |
H A D | ExceptionIncludingMockitoWarnings.java | 10 public ExceptionIncludingMockitoWarnings(String message, Throwable throwable) { argument 11 super(message, throwable);
|
/external/mockito/src/main/java/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/dagger2/producers/src/main/java/dagger/producers/ |
H A D | Produced.java | 74 public static <T> Produced<T> failed(Throwable throwable) { argument 75 return new Failed<T>(checkNotNull(throwable)); 106 private final Throwable throwable; field in class:Produced.Failed 108 private Failed(Throwable throwable) { argument 109 this.throwable = checkNotNull(throwable); 113 throw new ExecutionException(throwable); 121 return this.throwable.equals(that.throwable); 128 return throwable [all...] |
/external/dagger2/producers/src/main/java/dagger/producers/internal/ |
H A D | Producers.java | 115 public static <T> Producer<T> immediateFailedProducer(final Throwable throwable) { argument 119 return Futures.immediateFailedFuture(throwable);
|
/external/desugar/java/com/google/devtools/common/options/ |
H A D | OptionsParsingException.java | 34 public OptionsParsingException(String message, Throwable throwable) { argument 35 this(message, null, throwable); 38 public OptionsParsingException(String message, String argument, Throwable throwable) { argument 39 super(message, throwable);
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Throwables.java | 46 * Propagates {@code throwable} exactly as-is, if and only if it is an 61 @Nullable Throwable throwable, Class<X> declaredType) throws X { 63 if (throwable != null && declaredType.isInstance(throwable)) { 64 throw declaredType.cast(throwable); 69 * Propagates {@code throwable} exactly as-is, if and only if it is an 82 public static void propagateIfPossible(@Nullable Throwable throwable) { argument 83 propagateIfInstanceOf(throwable, Error.class); 84 propagateIfInstanceOf(throwable, RuntimeException.class); 88 * Propagates {@code throwable} exactl 60 propagateIfInstanceOf( @ullable Throwable throwable, Class<X> declaredType) argument 106 propagateIfPossible( @ullable Throwable throwable, Class<X> declaredType) argument 127 propagateIfPossible(@ullable Throwable throwable, Class<X1> declaredType1, Class<X2> declaredType2) argument 158 propagate(Throwable throwable) argument 172 getRootCause(Throwable throwable) argument 198 getCausalChain(Throwable throwable) argument 215 getStackTraceAsString(Throwable throwable) argument [all...] |
/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/junit/src/main/java/org/junit/internal/matchers/ |
H A D | StacktracePrintingMatcher.java | 39 private String readStacktrace(Throwable throwable) { argument 41 throwable.printStackTrace(new PrintWriter(stringWriter));
|
/external/junit-params/src/main/java/junitparams/internal/ |
H A D | DeferredErrorFrameworkMethod.java | 15 private final Throwable throwable; field in class:DeferredErrorFrameworkMethod 18 Throwable throwable) { 20 this.throwable = throwable; 28 throw throwable; 17 DeferredErrorFrameworkMethod(Method method, Description description, Throwable throwable) argument
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
H A D | NotifiedMethodInvocationReport.java | 19 private final Throwable throwable; field in class:NotifiedMethodInvocationReport 32 this.throwable = null; 40 * @param throwable Tha throwable raised by the method invocation 42 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) { argument 45 this.throwable = throwable; 57 return throwable; 61 return throwable != null; 77 areEqual(throwable, tha [all...] |
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
H A D | BaseStubbing.java | 32 private OngoingStubbing<T> thenThrow(Throwable throwable) { argument 33 return thenAnswer(new ThrowsException(throwable));
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
H A D | ThrowsException.java | 20 private final Throwable throwable; field in class:ThrowsException 23 public ThrowsException(Throwable throwable) { argument 24 this.throwable = throwable; 28 if (MockUtil.isMock(throwable)) { 29 throw throwable; 31 Throwable t = throwable.fillInStackTrace(); 34 throw throwable; 42 if (throwable == null) { 46 if (throwable instanceo [all...] |
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/ |
H A D | FormattingTuple.java | 37 private Throwable throwable; field in class:FormattingTuple 44 public FormattingTuple(String message, Object[] argArray, Throwable throwable) { argument 46 this.throwable = throwable; 47 if (throwable == null) { 73 return throwable;
|
/external/vogar/src/vogar/target/junit/ |
H A D | ErrorRunner.java | 39 private final Throwable throwable; field in class:ErrorRunner 41 public ErrorRunner(Description description, Throwable throwable) { argument 43 this.throwable = throwable; 45 // If the throwable is an InitializationError then add any of its causes as suppressed 47 if (throwable instanceof InitializationError) { 48 InitializationError error = (InitializationError) throwable; 50 throwable.addSuppressed(cause); 63 notifier.fireTestFailure(new Failure(description, throwable));
|
/external/vogar/src/vogar/target/junit/junit3/ |
H A D | TestCaseFactory.java | 49 * Create a 'test' that when run will throw the supplied throwable. 51 T createFailingTest(Class<? extends Test> testClass, String name, Throwable throwable); argument
|