Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 460 for Throwable (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        }
      }
    
      private static final class WrapperException extends Exception {
        WrapperException(Throwable t) {
          super(t);
        }
      }
    
      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
        if (wrapper instanceof WrapperException) {
          Throwable cause = wrapper.getCause();
          if (cause instanceof RuntimeException) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

        }
    
        @Test
        void messageAndCauseConstructor_setsMessageAndCause_withoutInteractingWithCause() {
            // Arrange - mock cause to verify no interactions are needed to construct
            Throwable cause = Mockito.mock(Throwable.class);
            String message = "forced downgrade detected";
    
            // Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/DataStoreException.java

         *
         * @param message the error message
         * @param cause the underlying cause of this exception
         */
        public DataStoreException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a new DataStoreException with the specified message.
         *
         * @param message the error message
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        }
    
        public void test_constructor_withComponentNameAndCause() {
            // Test constructor with component name and cause
            String componentName = "myComponent";
            Throwable cause = new RuntimeException("Connection failed");
            ContainerNotAvailableException exception = new ContainerNotAvailableException(componentName, cause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractService.java

         * has failed.
         */
        final @Nullable Throwable failure;
    
        StateSnapshot(State internalState) {
          this(internalState, false, null);
        }
    
        StateSnapshot(
            State internalState, boolean shutdownWhenStartupFinishes, @Nullable Throwable failure) {
          checkArgument(
              !shutdownWhenStartupFinishes || internalState == STARTING,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            // Create multiple threads to test synchronized method
            Thread thread1 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            Thread thread2 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            thread1.start();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            assertEquals("test_stackTracePresent", firstElement.getMethodName());
        }
    
        public void test_nestedExceptionChain() {
            // Test nested exception chain
            Throwable rootCause = new IllegalArgumentException("Root cause");
            Throwable middleCause = new IllegalStateException("Middle cause", rootCause);
            ScheduledJobException exception = new ScheduledJobException("Top level error", middleCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/JobProcessingException.java

         */
        public JobProcessingException(final Throwable e) {
            super(e);
        }
    
        /**
         * Constructs a new JobProcessingException with the specified detail message and cause.
         *
         * @param message the detail message explaining the exception
         * @param e the cause of the exception
         */
        public JobProcessingException(final String message, final Throwable e) {
            super(message, e);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbException.java

            return errcode + "";
        }
    
        /** The SMB error status code */
        private int status;
        /** The root cause exception */
        private Throwable rootCause;
    
        SmbException() {
        }
    
        SmbException(final int errcode, final Throwable rootCause) {
            super(getMessageByCode(errcode));
            status = getStatusByCode(errcode);
            this.rootCause = rootCause;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top