Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 325 for throwable (0.11 sec)

  1. src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java

         */
        public ContainerNotAvailableException(final String componentName, final Throwable cause) {
            super(componentName + " is not available.", cause);
            this.componentName = componentName;
        }
    
        /**
         * Constructor with cause only.
         * @param cause The cause of the exception.
         */
        public ContainerNotAvailableException(final Throwable cause) {
            super("Container is not available.");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNestedCause() {
            // Test constructor with nested exception causes
            Throwable rootCause = new IllegalArgumentException("Root cause");
            Throwable middleCause = new IllegalStateException("Middle cause", rootCause);
            String message = "Command execution failed with nested exception";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClusterException.java

    @NullMarked
    final class ClusterException extends RuntimeException {
    
      final Collection<? extends Throwable> exceptions;
    
      private ClusterException(Collection<? extends Throwable> exceptions) {
        super(
            exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.",
            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            Throwable cause = new RuntimeException("Root cause");
            FessSystemException exception = new FessSystemException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        public void test_constructor_withCause() {
            // Test constructor with cause only
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    
        MockCallback(Throwable expectedFailure) {
          this.failure = expectedFailure;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. android/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.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top