Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,810 for cause (0.1 seconds)

  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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (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(),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/GsaConfigException.java

        /**
         * Constructs a new GSA configuration exception with the specified detail message and cause.
         *
         * @param message the detail message describing the configuration error
         * @param cause the cause of the exception
         */
        public GsaConfigException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/NoSuchAlgorithmRuntimeException.java

        /**
         * Creates a {@link NoSuchAlgorithmRuntimeException}.
         *
         * @param cause
         *            The cause of the exception
         */
        public NoSuchAlgorithmRuntimeException(final NoSuchAlgorithmException cause) {
            super("ECL0067", asArray(cause), cause);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Throwables.java

      }
    
      /**
       * Gets a {@code Throwable} cause chain as a list. The first entry in the list will be {@code
       * throwable} followed by its cause hierarchy. Note that this is a snapshot of the cause chain and
       * will not reflect any subsequent changes to the cause chain.
       *
       * <p>Here's an example of how it can be used to find specific types of exceptions in the cause
       * chain:
       *
       * <pre>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

         *
         * @param message
         * @param cause
         */
        public MojoExecutionException(String message, Exception cause) {
            super(message, cause);
        }
    
        /**
         * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Throwable</code>
         * and providing a <code>message</code>.
         *
         * @param message
         * @param cause
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Test constructor with message and cause
            String message = "LDAP operation failed with error";
            Exception cause = new RuntimeException("Connection timeout");
            LdapOperationException exception = new LdapOperationException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exception/WebApiException.java

        /**
         * Constructs a WebApiException with the specified status code, message, and cause.
         *
         * @param statusCode The HTTP status code
         * @param message The detail message
         * @param cause The cause of this exception
         */
        public WebApiException(final int statusCode, final String message, final Throwable cause) {
            super(message, cause);
            this.statusCode = statusCode;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top