- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 426 for Throwables (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt
* proxy in a list, looking up a subsequent one may succeed. */ internal class FailedPlan( e: Throwable, ) : RoutePlanner.Plan { val result = RoutePlanner.ConnectResult(plan = this, throwable = e) override val isReady = false override fun connectTcp() = result override fun connectTlsEtc() = result
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
verify(mockDelegate).withGuestCrendentials(); } @Test void testRenewCredentials_True() { // Test renewCredentials(String locationHint, Throwable error) method when true String locationHint = "testLocation"; Throwable error = new RuntimeException("testError"); when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
*/ @Tag("Slowish") class TaskRunnerRealBackendTest { private val log = LinkedBlockingDeque<String>() private val loggingUncaughtExceptionHandler = UncaughtExceptionHandler { _, throwable -> log.put("uncaught exception: $throwable") } private val threadFactory = ThreadFactory { runnable -> Thread(runnable, "TaskRunnerRealBackendTest").apply { isDaemon = true
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
"<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)", ) // We should consider if these logs should retain Exceptions assertThat(logs.last().throwable).isNull() } @Test fun testLoggingEventListener() { val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build() try { client.newCall(request).execute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.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/main/java/org/codelibs/fess/app/service/FailureUrlService.java
/** * Extracts and returns the stack trace from a throwable as a string. * The stack trace is abbreviated if it exceeds the configured maximum length. * * @param t the throwable to extract the stack trace from * @return the stack trace as a string, or empty string if extraction fails */ private String getStackTrace(final Throwable t) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialization() { // Test serialVersionUID exists ResultOffsetExceededException exception = new ResultOffsetExceededException("Test serialization");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbException.java
* * @param errcode the SMB error code * @param rootCause the underlying cause of this exception */ public SmbException(final int errcode, final Throwable rootCause) { super(getMessageByCode(errcode), rootCause); this.status = getStatusByCode(errcode); } /** * Constructs an SmbException with the specified detail message *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
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.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java
assertThat(clIllegalStateException.getMessage(), is("hoge")); } /** * Test method for * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)} * . */ @Test public void testSIllegalStateExceptionStringThrowable() { final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge", new NullPointerException());
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0)