Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 426 for Throwables (0.05 sec)

  1. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

              }
            };
    
        List<Throwable> exceptions = runThreadsAndReturnExceptions(numThreads, task);
    
        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
        List<Throwable> exceptions = new ArrayList<>(numThreads);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/EventBus.java

      }
    
      /** Handles the given exception thrown by a subscriber with the given context. */
      void handleSubscriberException(Throwable e, SubscriberExceptionContext context) {
        checkNotNull(e);
        checkNotNull(context);
        try {
          exceptionHandler.handleException(e, context);
        } catch (Throwable e2) {
          // if the handler threw an exception... well, just log it
          logger.log(
              Level.SEVERE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonConfigurationException.java

    /**
     */
    @Deprecated
    public class WagonConfigurationException extends org.apache.maven.repository.legacy.WagonConfigurationException {
        public WagonConfigurationException(String repositoryId, String message, Throwable cause) {
            super(repositoryId, message, cause);
        }
    
        public WagonConfigurationException(String repositoryId, String message) {
            super(repositoryId, message);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/LocalRepositoryNotAccessibleException.java

     *
     */
    @Deprecated
    public class LocalRepositoryNotAccessibleException extends IOException {
    
        public LocalRepositoryNotAccessibleException(String message, Throwable cause) {
            super(message);
            initCause(cause);
        }
    
        public LocalRepositoryNotAccessibleException(String message) {
            super(message);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/ChecksumFailedException.java

     *
     */
    @Deprecated
    public class ChecksumFailedException extends TransferFailedException {
        public ChecksumFailedException(String s) {
            super(s);
        }
    
        public ChecksumFailedException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java

            super("ECL0041", asArray(targetClass.getName(), cause), cause);
            this.targetClass = targetClass;
        }
    
        @Override
        public synchronized InstantiationRuntimeException initCause(final Throwable cause) {
            return (InstantiationRuntimeException) super.initCause(cause);
        }
    
        /**
         * Returns the target class.
         *
         * @return Target class
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
            final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t);
            assertThat(ex.getCause(), is(t));
            ex.printStackTrace();
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            Array of arguments
         * @param cause
         *            The cause of the exception
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top