- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,783 for exception (0.06 seconds)
-
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
} public void testConstructor() throws Exception { Invokable<A, A> invokable = A.constructor(); assertTrue(invokable.isPublic()); assertFalse(invokable.isPackagePrivate()); assertFalse(invokable.isAbstract()); assertFalse(invokable.isStatic()); assertTrue(invokable.isAnnotationPresent(Tested.class)); } public void testAbstractMethod() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java
return severity; } public Version getVersion() { return version; } public Exception getException() { return exception; } public ModelProblemCollectorRequest setException(Exception exception) { this.exception = exception; return this; } public String getMessage() { return message; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* RuntimeException runtime exceptions} thrown by the executor. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void executeListener(Runnable runnable, Executor executor) { try { executor.execute(runnable); } catch (Exception e) { // sneaky checked exceptionCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java
} } @Override public CacheRecord put(Key key, PluginResolutionException exception) { Objects.requireNonNull(exception, "exception cannot be null"); assertUniqueKey(key); CacheRecord record = new CacheRecord(exception); cache.put(key, record); return record; } @Override public void flush() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
org.apache.maven.project.ProjectBuilder projectBuilder = getContainer().lookup(org.apache.maven.project.ProjectBuilder.class); // single project build entry point Exception ex = assertThrows(Exception.class, () -> projectBuilder.build(pomFile, configuration)); assertTrue(ex.getMessage().contains("Received non-all-whitespace CHARACTERS or CDATA event")); // multi projects build entry pointCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 17.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
@Override protected void tearDown() { stack.runTearDown(); } static final Exception EXCEPTION = new Exception(); static final class ExampleClassUnderTest { static final Logger logger = Logger.getLogger(ExampleClassUnderTest.class.getName()); static void foo() { logger.log(Level.INFO, "message", EXCEPTION); } private ExampleClassUnderTest() {} }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
protected static final int VALID_INPUT_DATA = 1; protected static final Exception EXCEPTION = new Exception("Test exception"); protected SettableFuture<Integer> inputFuture; protected ListenableFuture<T> resultFuture; protected MockFutureListener listener; @Override protected void setUp() throws Exception { super.setUp(); inputFuture = SettableFuture.create();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
Exception exception = new RuntimeException("test"); UncheckedExecutionException e = assertThrows( UncheckedExecutionException.class, () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS)); assertThat(e).hasCauseThat().isEqualTo(exception); } public void testCallUninterruptiblyWithTimeout_propagatesReturnValue() throws Exception { String result =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.1K bytes - Click Count (0)