/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;
|
H A D | IMocksControlState.java | 28 void andThrow(Throwable throwable);
argument 36 void andStubThrow(Throwable throwable);
argument
|
/external/apache-http/src/org/apache/http/util/ |
H A D | ExceptionUtils.java | 67 * If we're running on JDK 1.4 or later, initialize the cause for the given throwable. 69 * @param throwable The throwable. 70 * @param cause The cause of the throwable. 72 public static void initCause(Throwable throwable, Throwable cause) { argument 75 INIT_CAUSE_METHOD.invoke(throwable, new Object[] { cause });
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/ |
H A D | ProcessInitException.java | 24 * @param throwable The wrapped throwable obj. 26 public ProcessInitException(int errorCode, Throwable throwable) { argument 27 super(null, throwable);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/exceptions/ |
H A D | BlenderFileException.java | 59 * @param throwable
62 public BlenderFileException(Throwable throwable) {
argument 63 super(throwable);
70 * @param throwable
73 public BlenderFileException(String message, Throwable throwable) {
argument 74 super(message, throwable);
|
/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/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/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
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | LoadLocaleProviderTestHelper.java | 24 private Throwable throwable; field in class:LoadLocaleProviderTestHelper 36 return throwable; 43 throwable = t;
|
/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/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);
|
H A D | AbstractFuture.java | 177 * to an error, {@code throwable}. This will set the state of the future to 181 * @param throwable the exception that the task failed with. 183 * @throws Error if the throwable was an {@link Error}. 185 protected boolean setException(Throwable throwable) { argument 186 boolean result = sync.setException(checkNotNull(throwable)); 193 if (throwable instanceof Error) { 194 throw (Error) 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/mockito/src/org/mockito/internal/stubbing/ |
H A D | BaseStubbing.java | 30 private OngoingStubbing<T> thenThrow(Throwable throwable) {
argument 31 return thenAnswer(new ThrowsException(throwable));
76 public DeprecatedOngoingStubbing<T> toThrow(Throwable throwable) {
argument 77 return toAnswer(new ThrowsException(throwable));
|
H A D | VoidMethodStubbableImpl.java | 21 public VoidMethodStubbable<T> toThrow(Throwable throwable) {
argument 22 invocationContainerImpl.addAnswerForVoidMethod(new ThrowsException(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 | MethodInfo.java | 23 public boolean isValidException(Throwable throwable) { argument 25 Class<?> throwableClass = throwable.getClass();
|
/external/easymock/src/org/easymock/ |
H A D | 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);
argument 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);
argument
|
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/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/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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
H A D | ReflectionUtils.java | 289 private static Throwable throwable; field in class:ReflectionUtils.ExceptionThrower 298 throw throwable; 303 ExceptionThrower.throwable = t; 309 ExceptionThrower.throwable = null; 316 * Propagates {@code throwable} as-is without any wrapping. This is trick. 321 public static RuntimeException propagate(Throwable throwable) { argument 323 ExceptionThrower.spit(throwable);
|