Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 561 for Cause (0.01 sec)

  1. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
        void testMessageAndCauseConstructor() {
            // Test the constructor with both message and cause arguments
            String message = "Test message with cause";
            Throwable cause = new IllegalArgumentException("Invalid argument");
            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

            assertNull(exception.getCause(), "Cause should be null for string constructor");
        }
    
        @Test
        void testThrowableConstructor() {
            // Test the constructor with a cause
            Throwable cause = new RuntimeException("Root cause of timeout");
            ConnectionTimeoutException exception = new ConnectionTimeoutException(cause);
            assertEquals("java.lang.RuntimeException: Root cause of timeout", exception.getMessage(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      protected final void notifyFailed(Throwable cause) {
        checkNotNull(cause);
    
        monitor.enter();
        try {
          State previous = state();
          switch (previous) {
            case NEW:
            case TERMINATED:
              throw new IllegalStateException("Failed while in state:" + previous, cause);
            case RUNNING:
            case STARTING:
            case STOPPING:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            // Test constructor with message and cause
            String message = "Storage operation failed";
            Exception cause = new RuntimeException("Underlying error");
            StorageException exception = new StorageException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/TransportException.java

         * Constructs a new TransportException with the specified cause.
         * @param rootCause the cause of this exception
         */
        public TransportException(final Throwable rootCause) {
            super(rootCause);
        }
    
        /**
         * Constructs a new TransportException with the specified detail message and cause.
         * @param msg the detail message
         * @param rootCause the cause of this exception
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/PluginException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a plugin exception with message and cause.
         *
         * @param message the error message
         * @param cause the cause
         */
        public PluginException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a plugin exception with 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.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/ThemeException.java

        /**
         * Constructs a new ThemeException with the specified message and cause.
         *
         * @param message the exception message
         * @param cause the underlying cause of this exception
         */
        public ThemeException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new ThemeException with the specified message.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exception/ThumbnailGenerationException.java

        /**
         * Constructs a new ThumbnailGenerationException with the specified message and cause.
         *
         * @param message the exception message
         * @param cause the underlying cause of this exception
         */
        public ThumbnailGenerationException(final String message, final Exception cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new ThumbnailGenerationException with the specified message.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/cache/MavenExecutionException.java

     * Exception thrown when an error occurs during Maven execution.
     * This exception wraps the original cause of the execution failure.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenExecutionException extends MavenException {
    
        /**
         * Constructs a new MavenExecutionException with the specified cause.
         *
         * @param cause The underlying exception that caused the execution failure
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            // Test constructor with null component name and valid cause
            Throwable cause = new RuntimeException("Test cause");
            ContainerNotAvailableException exception = new ContainerNotAvailableException(null, cause);
    
            assertEquals("null is not available.", exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertNull(exception.getComponentName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top