Searched defs:thrown (Results 1 - 25 of 39) sorted by relevance

12

/external/dagger2/core/src/test/java/dagger/internal/
H A DInstanceFactoryTest.java28 @Rule public final ExpectedException thrown = ExpectedException.none(); field in class:InstanceFactoryTest
39 thrown.expect(NullPointerException.class);
H A DMapProviderFactoryTest.java34 public ExpectedException thrown = ExpectedException.none(); field in class:MapProviderFactoryTest
38 thrown.expect(NullPointerException.class);
44 thrown.expect(NullPointerException.class);
H A DSetFactoryTest.java37 @Rule public ExpectedException thrown = ExpectedException.none(); field in class:SetFactoryTest
47 thrown.expect(NullPointerException.class);
59 thrown.expect(NullPointerException.class);
75 thrown.expect(NullPointerException.class);
91 thrown.expect(NullPointerException.class);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowBluetoothAdapterTest.java24 public ExpectedException thrown = ExpectedException.none(); field in class:ShadowBluetoothAdapterTest
90 thrown.expect(IllegalStateException.class);
91 thrown.expectMessage("There are 2 callbacks");
/external/robolectric-shadows/shadows/playservices/src/test/java/org/robolectric/shadows/gms/
H A DShadowGoogleAuthUtilTest.java36 public ExpectedException thrown = ExpectedException.none(); field in class:ShadowGoogleAuthUtilTest
51 thrown.expect(NullPointerException.class);
108 thrown.expect(IllegalArgumentException.class);
116 thrown.expect(IllegalArgumentException.class);
H A DShadowGooglePlayServicesUtilTest.java34 public ExpectedException thrown = ExpectedException.none(); field in class:ShadowGooglePlayServicesUtilTest
48 thrown.expect(NullPointerException.class);
/external/vogar/src/vogar/tasks/
H A DTask.java35 Exception thrown; field in class:Task
93 thrown = e;
/external/guava/guava/src/com/google/common/io/
H A DCloser.java40 * Running on Java 6, exceptions that cannot be thrown must be logged rather than being added to the
41 * thrown exception as a suppressed exception.
52 * // ensure that any checked exception types other than IOException that could be thrown are
61 * try block in order to catch any exception that may be thrown (including from the call to
68 * <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting
69 * to close resources will be thrown from the finally block. The throwable from the try block will
70 * be thrown.</li>
71 * <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown
72 * by an attempt to close a resource will be thrown
111 private Throwable thrown; field in class:Closer
239 suppress(Closeable closeable, Throwable thrown, Throwable suppressed) argument
250 suppress(Closeable closeable, Throwable thrown, Throwable suppressed) argument
280 suppress(Closeable closeable, Throwable thrown, Throwable suppressed) argument
[all...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
H A DAttributeSetBuilderTest.java22 public ExpectedException thrown = ExpectedException.none(); field in class:AttributeSetBuilderTest
/external/guava/guava-tests/test/com/google/common/io/
H A DCloserTest.java303 throw closer.rethrow(new IOException("thrown"), IOException.class);
313 assertEquals("Suppressing exception thrown when closing " + c2, record.getMessage());
316 assertEquals("Suppressing exception thrown when closing " + c1, record.getMessage());
374 * Asserts that an exception was thrown when trying to close each of the given throwables and that
375 * each such exception was suppressed because of the given thrown exception.
389 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { argument
390 suppressions.add(new Suppression(closeable, thrown, suppressed));
399 private final Throwable thrown; field in class:CloserTest.Suppression
402 private Suppression(Closeable closeable, Throwable thrown, Throwable suppressed) { argument
404 this.thrown
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DMoreExecutorsTest.java389 final RuntimeException thrown; field in class:MoreExecutorsTest.ThrowingRunnable
392 ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { argument
394 this.thrown = thrown;
400 throw thrown;
/external/rappor/client/javatest/com/google/android/rappor/
H A DEncoderTest.java30 public final ExpectedException thrown = ExpectedException.none(); field in class:EncoderTest
93 thrown.expect(IllegalArgumentException.class);
120 thrown.expect(IllegalArgumentException.class);
133 thrown.expect(IllegalArgumentException.class);
147 thrown.expect(IllegalArgumentException.class);
160 thrown.expect(IllegalArgumentException.class);
173 thrown.expect(IllegalArgumentException.class);
186 thrown.expect(IllegalArgumentException.class);
199 thrown.expect(IllegalArgumentException.class);
212 thrown
[all...]
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
H A DFactoryProvider2.java805 /** Returns true if {@code thrown} can be thrown by {@code invoked} without wrapping. */
806 static boolean canRethrow(Method invoked, Throwable thrown) { argument
807 if (thrown instanceof Error || thrown instanceof RuntimeException) {
812 if (declared.isInstance(thrown)) {
/external/guava/guava/src/com/google/common/util/concurrent/
H A DFutures.java86 * See {@link Future#get()} for details on the exceptions thrown.
182 private final Throwable thrown; field in class:Futures.ImmediateFailedFuture
184 ImmediateFailedFuture(Throwable thrown) { argument
185 this.thrown = thrown;
190 throw new ExecutionException(thrown);
196 private final CancellationException thrown; field in class:Futures.ImmediateCancelledFuture
199 this.thrown = new CancellationException("Immediate cancelled future.");
210 "Task was cancelled.", thrown);
217 private final X thrown; field in class:Futures.ImmediateFailedCheckedFuture
219 ImmediateFailedCheckedFuture(X thrown) argument
[all...]
/external/v8/src/
H A Disolate.cc1018 base::OS::PrintError("Exception thrown during bootstrapping\n");
1079 printf("Exception thrown:\n");
1172 // Set the exception being thrown.
1181 // Set the exception being re-thrown.
1471 Object* thrown = scheduled_exception(); local
1474 return ReThrow(thrown);
1707 // the pending message if the exception is re-thrown.
/external/error_prone/checkerframework/
H A Ddataflow-2.2.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/checkerframework/dataflow/ org/checkerframework/dataflow/analysis/ ...
/external/annotation-tools/annotation-file-utilities/
H A Dannotation-file-utilities.jarMETA-INF/ META-INF/MANIFEST.MF annotations/ annotations/el/ annotations/field/ annotations/io/ annotations/io/classfile/ ...
/external/annotation-tools/asmx/test/lib/
H A Dlog4j-1.2.9.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/log4j/ org/apache/log4j/Appender ...
/external/guice/extensions/persist/lib/
H A Dlog4j-1.2.14.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/log4j/ org/apache/log4j/Appender ...
/external/slf4j/log4j-over-slf4j/compatibility/lib/
H A Dlog4j-1.2.14.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/log4j/ org/apache/log4j/Appender ...
/external/annotation-tools/scene-lib/
H A Dant-contrib.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/sf/ net/sf/antcontrib/ net/sf/antcontrib/AntContribVersion ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/annotation-tools/annotation-file-utilities/lib/
H A Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/conscrypt/benchmark-android/
H A Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties.java package vogar ...
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 1368 milliseconds

12