Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 460 for throwable (0.05 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

            return error;
        }
    
        /**
         * Returns the root cause of this exception
         *
         * @return the root cause throwable
         */
        public Throwable getRootCause() {
            return rootCause;
        }
    
        @Override
        public String toString() {
            if (rootCause != null) {
                final StringWriter sw = new StringWriter();
                final PrintWriter pw = new PrintWriter(sw);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K 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. 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)
  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. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

         */
        public ConnectionTimeoutException(final Throwable rootCause) {
            super(rootCause);
        }
    
        /**
         * Constructs a new ConnectionTimeoutException with the specified detail message and cause.
         * @param msg the detail message
         * @param rootCause the cause of this exception
         */
        public ConnectionTimeoutException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top