Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 361 for Throwables (0.03 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        webSocket.close(1000, null);
        System.out.println("CLOSE: " + code + " " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        t.printStackTrace();
      }
    
      public static void main(String... args) {
        new WebSocketEcho().run();
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/TestExceptions.java

      static class SomeUncheckedException extends RuntimeException {}
    
      static class SomeChainingException extends RuntimeException {
        public SomeChainingException(Throwable cause) {
          super(cause);
        }
      }
    
      private TestExceptions() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java

         *            Array of parameter types
         * @param cause
         *            The cause of the exception
         */
        public NoSuchConstructorRuntimeException(final Class<?> targetClass, final Class<?>[] argTypes, final Throwable cause) {
            super("ECL0064", asArray(targetClass.getName(), MethodUtil.getSignature(targetClass.getSimpleName(), argTypes)), cause);
            this.targetClass = targetClass;
            this.argTypes = argTypes;
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DisposableUtil.java

            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
                    t.printStackTrace(); // must not use Logger.
                }
            }
            disposables.clear();
            Introspector.flushCaches();
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/CurlException.java

         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
        public CurlException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new CurlException with the specified detail message.
         *
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt

       * network. Both outgoing and incoming messages may have been lost. No further calls to this
       * listener will be made.
       */
      open fun onFailure(
        webSocket: WebSocket,
        t: Throwable,
        response: Response?,
      ) {
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

         *            Array of arguments
         * @param cause
         *            The cause of the exception
         */
        public EmptyArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(argName, messageCode, args, cause);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. README.md

            response.getItems().forEach(item -> 
                System.out.println("Async suggestion: " + item.getText()[0])
            );
        })
        .error(throwable -> {
            // Handle error
            System.err.println("Error: " + throwable.getMessage());
        });
    ```
    
    ## Advanced Usage
    
    ### Index from Existing Documents
    
    ```java
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          extensionContext: ExtensionContext,
        ) {
          var failed = false
          try {
            invocation.proceed()
          } catch (e: TestAbortedException) {
            throw e
          } catch (e: Throwable) {
            failed = true
            rethrowIfNotExpected(e)
          } finally {
            resetPlatform()
          }
          if (!failed) {
            failIfExpected()
          }
        }
    
        fun setupPlatform() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/exception/GsaConfigException.java

         *
         * @param message the detail message describing the configuration error
         * @param cause the cause of the exception
         */
        public GsaConfigException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new GSA configuration exception with the specified detail message.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top