- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 573 for Throwables (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
task = withLock { afterRun(task, delayNanos, true) awaitTaskToRun() } ?: return } } catch (thrown: Throwable) { // A task failed. Update execution state and re-throw the exception. withLock { afterRun(task, -1L, false) } if (thrown is InterruptedException) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:30:11 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
public void stop() { /* No-op */ } } private static class FastMockFailureUrlService extends FailureUrlService { public void store(DataConfig dataConfig, String errorName, String url, Throwable e) { /* No-op */ } } private static class FastMockSearchEngineClient extends SearchEngineClient { @Override public long deleteByQuery(String index, QueryBuilder queryBuilder) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 32.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
) val e = RuntimeException("boom") clientListener.setNextEventDelegate( object : WebSocketListener() { override fun onFailure( webSocket: WebSocket, t: Throwable, response: Response?, ): Unit = throw e }, ) newWebSocket() assertThat(testLogHandler.take()).isEqualTo("INFO: [WS client] onFailure") } @TestCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
verify(delegate, times(1)).release(); } @Test @DisplayName("finalize() invokes checkRelease exactly once") void finalize_invokes_checkRelease() throws Throwable { // Arrange: spy to verify internal interaction with checkRelease() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
assertThat(e) .hasMessageThat() .contains("Expected to be healthy after starting. The following services are not running:"); Throwable[] suppressed = e.getSuppressed(); assertThat(suppressed).hasLength(2); assertThat(suppressed[0]).hasCauseThat().isInstanceOf(IllegalStateException.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
return task.toString(); } }; queue.add(submittedTask); workerRunningState = QUEUING; } try { executor.execute(worker); } catch (Throwable t) { // Any Exception is either a RuntimeException or sneaky checked exception. synchronized (queue) { boolean removed = (workerRunningState == IDLE || workerRunningState == QUEUING)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
Trans2FindFirst2Response resp = inv.getArgument(1); resp.received(); // mark as received throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, (Throwable) null); }); DirFileEntryEnumIterator1 it = new DirFileEntryEnumIterator1(tree, parent, "*", null, 0); assertFalse(it.hasNext(), "Iterator should be empty when server reports no such file");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
} private static final class TimeoutFutureException extends TimeoutException { private TimeoutFutureException(String message) { super(message); } @Override public synchronized Throwable fillInStackTrace() { setStackTrace(new StackTraceElement[0]); return this; // no stack trace, wouldn't be useful anyway } } @Override protected @Nullable String pendingToString() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0)