- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,882 for Exceptions (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
verifyThreadWasNotInterrupted(); } public void testFailed() throws Exception { Exception e = new Exception(); TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { throw e; } }); task.run();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * @param exceptionType the exception type that triggers use of {@code fallback}. The exception * type is matched against this step's exception. "This step's exception" means the cause of * the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future} * underlying this step or, if {@code get()} throws a different kind of exception, thatCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
/** * Classes and futures used in {@link FuturesGetCheckedTest} and {@link FuturesGetUncheckedTest}. */ @GwtCompatible @NullUnmarked final class FuturesGetCheckedInputs { static final Exception CHECKED_EXCEPTION = new Exception("mymessage"); static final Future<String> FAILED_FUTURE_CHECKED_EXCEPTION = immediateFailedFuture(CHECKED_EXCEPTION); static final RuntimeException UNCHECKED_EXCEPTION = new RuntimeException("mymessage");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
@NullUnmarked public class SingleThreadAbstractFutureBenchmark { @Param Impl impl; private final Exception exception = new Exception(); private Facade<?> notDoneFuture; @BeforeExperiment void setUp() throws Exception { notDoneFuture = impl.newFacade(); } @Benchmark public long timeComplete_Normal(int reps) throws Exception { long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testContentException() { CurlResponse response = new CurlResponse(); Exception exception = new IOException("Test exception"); response.setContentException(exception); assertSame(exception, response.getContentException()); } @Test public void testHeaders() { CurlResponse response = new CurlResponse();Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 12.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java
} @Test void testGuice() throws Exception { List<Binding<ModelParser>> parsers = container.lookup(Injector.class).findBindingsByType(TypeLiteral.get(ModelParser.class)); assertNotNull(parsers); assertEquals(1, parsers.size()); } @Test void testDI() throws Exception { DiInjected diInjected = new DiInjected();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 23:18:32 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
void testGetDialectRevision() throws Exception { // Given setPrivateField(response, "dialectRevision", 0x0311); // When int dialect = response.getDialectRevision(); // Then assertEquals(0x0311, dialect); } @Test @DisplayName("Should return server GUID") void testGetServerGuid() throws Exception { // Given
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void release_invokedOnce() throws Exception { // Arrange: no setup needed; we verify interaction only // Act: call release handle.release(); // Assert: verify one invocation and no more verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
itr.next(); assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception { exception.expect(ClUnsupportedOperationException.class); exception.expectMessage(is("remove")); final ArrayIterator<String> itr = new ArrayIterator<String>("1", "2"); itr.remove(); }
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.5K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java
if (shouldThrowException) { throw new RuntimeException("Test exception in delayBeforeProcessing"); } } @Override protected void delayAfterProcessing() { afterProcessingCount++; if (shouldThrowException) { throw new RuntimeException("Test exception in delayAfterProcessing"); } } @Override
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:58:39 GMT 2025 - 9.8K bytes - Click Count (0)