- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 384 for throwable (0.07 sec)
-
android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
this.runtime = runtime; } @Override public void uncaughtException(Thread t, Throwable e) { try { logger .get() .log( SEVERE, String.format(Locale.ROOT, "Caught an exception in %s. Shutting down.", t), e); } catch (Throwable errorInLogging) { // sneaky checked exception
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
address: InetSocketAddress, connectTimeout: Int, ) { socket.connect(address, connectTimeout) } open fun log( message: String, level: Int = INFO, t: Throwable? = null, ) { val logLevel = if (level == WARN) Level.WARNING else Level.INFO logger.log(logLevel, message, t) } open fun isCleartextTrafficPermitted(hostname: String): Boolean = true /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
/** * {@inheritDoc} * * @see jcifs.CIFSContext#renewCredentials(java.lang.String, java.lang.Throwable) */ @Override public boolean renewCredentials(final String locationHint, final Throwable error) { return false; } /** * {@inheritDoc} * * * @see jcifs.CIFSContext#close() */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
this.delegate = null delegate.onClosed(webSocket, code, reason) } else { events.add(Closed(code, reason)) } } override fun onFailure( webSocket: WebSocket, t: Throwable, response: Response?, ) { Platform.get().log("[WS $name] onFailure", Platform.INFO, t) val delegate = delegate if (delegate != null) { this.delegate = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java
*/ public ClUnsupportedOperationException(final String message, final Throwable cause) { super(message, cause); } /** * Creates a {@link ClUnsupportedOperationException}. * * @param cause the underlying exception */ public ClUnsupportedOperationException(final Throwable cause) { super(cause); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
DictionaryExpiredException exception = new DictionaryExpiredException(); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching the exception try { throw new DictionaryExpiredException(); } catch (DictionaryExpiredException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
get().log("[ES] onClosed", Platform.INFO, null) events.add(Closed) drainCancelQueue(eventSource) } override fun onFailure( eventSource: EventSource, t: Throwable?, response: Response?, ) { get().log("[ES] onFailure", Platform.INFO, t) events.add(Failure(t, response, t?.message ?: response?.body?.string())) drainCancelQueue(eventSource) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
assertEquals(errorMessage, e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a cause. */ @Test void testCauseConstructor() { Throwable cause = new RuntimeException("Root cause"); PACDecodingException e = new PACDecodingException(cause); // When constructed with only a cause, the implementation passes (null, cause) to super
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// to currentFuture doesn't race with itself so that currentFuture is assigned in the // correct order. Throwable scheduleFailure = null; Cancellable toReturn; lock.lock(); try { toReturn = initializeOrUpdateCancellationDelegate(schedule); } catch (Throwable e) { // Any Exception is either a RuntimeException or sneaky checked exception. //
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0)