Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for unreachable (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                if (message != null) {
                    message = message.toLowerCase();
                    // Connection reset, network unreachable, etc. might be temporary
                    return message.contains("connection reset") || message.contains("network unreachable")
                            || message.contains("host unreachable") || message.contains("timeout");
                }
                return true; // Generic socket errors might be recoverable
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            Exception expectedCause = new IOException("Network unreachable");
    
            try {
                throw new LdapOperationException(expectedMessage, expectedCause);
            } catch (LdapOperationException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertEquals(expectedCause, e.getCause());
                assertEquals("Network unreachable", e.getCause().getMessage());
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Cut.java

          throw new AssertionError("this statement should be unreachable");
        }
    
        @Override
        BoundType typeAsUpperBound() {
          throw new IllegalStateException();
        }
    
        @Override
        Cut<Comparable<?>> withLowerBoundType(
            BoundType boundType, DiscreteDomain<Comparable<?>> domain) {
          throw new AssertionError("this statement should be unreachable");
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

        void testStringAndThrowableConstructor() {
            // Test the constructor with both message and cause
            String message = "Failed to connect due to timeout.";
            Throwable cause = new IllegalStateException("Network unreachable");
            ConnectionTimeoutException exception = new ConnectionTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Network timeout");
            Exception middleCause = new Exception("SSO provider unreachable", rootCause);
            SsoProcessException topException = new SsoProcessException("SSO authentication failed", middleCause);
    
            assertEquals("SSO authentication failed", topException.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

       *
       * <p>This method always throws an exception. The {@code RuntimeException} return type allows
       * client code to signal to the compiler that statements after the call are unreachable. Example
       * usage:
       *
       * <pre>
       * T doSomething() {
       *   try {
       *     return someMethodThatCouldThrowAnything();
       *   } catch (IKnowWhatToDoWithThisException e) {
       *     return handle(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultimap.java

       * appear in this multimap.
       */
      @Override
      public ImmutableSet<K> keySet() {
        return map.keySet();
      }
    
      @Override
      Set<K> createKeySet() {
        throw new AssertionError("unreachable");
      }
    
      /**
       * Returns an immutable map that associates each key with its corresponding values in the
       * multimap. Keys and values appear in the same order as in this multimap.
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    		if len(line) > 0 && line[len(line)-1] == '\r' {
    			// Put the '\r' back on buf and drop it from line.
    			// Let the next call to ReadLine check for "\r\n".
    			if b.r == 0 {
    				// should be unreachable
    				panic("bufio: tried to rewind past start of buffer")
    			}
    			b.r--
    			line = line[:len(line)-1]
    		}
    		return line, true, nil
    	}
    
    	if len(line) == 0 {
    		if err != nil {
    			line = nil
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. docs/recipes.md

            }
          }
        ```
    
    ### Timeouts ([.kt][ConfigureTimeoutsKotlin], [.java][ConfigureTimeoutsJava])
    
    Use timeouts to fail a call when its peer is unreachable. Network partitions can be due to client connectivity problems, server availability problems, or anything between. OkHttp supports connect, write, read, and full call timeouts.
    
    === ":material-language-kotlin: Kotlin"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      @Test
      fun tlsTimeoutsNotRetried() {
        enableTls()
        server.enqueue(MockResponse.Builder().onResponseStart(Stall).build())
        server.enqueue(MockResponse(body = "unreachable!"))
        client =
          client
            .newBuilder()
            .readTimeout(Duration.ofMillis(100))
            .build()
        val request = Request.Builder().url(server.url("/")).build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top