Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 444 for causes (2.96 sec)

  1. src/main/java/org/codelibs/core/exception/InvalidKeyRuntimeException.java

        /**
         * Creates a {@link InvalidKeyRuntimeException}.
         *
         * @param cause
         *            The cause of the exception
         */
        public InvalidKeyRuntimeException(final InvalidKeyException cause) {
            super("ECL0068", asArray(cause), cause);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

         *            Message code
         * @param args
         *            Array of arguments
         * @param cause
         *            The cause of the exception
         */
        public EmptyArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(argName, messageCode, args, cause);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java

         *
         * @param componentClass
         *            the component class
         * @param targetField
         *            the target field
         * @param cause
         *            the cause
         */
        public BeanFieldSetAccessibleFailureException(final Class<?> componentClass, final Field targetField, final Throwable cause) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

         *
         * @param componentClass
         *            the component class
         * @param targetMethod
         *            the target method
         * @param cause
         *            the cause
         */
        public BeanMethodSetAccessibleFailureException(final Class<?> componentClass, final Method targetMethod, final Throwable cause) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            // Then
            assertSame(cause, exception.getCause(), "Crypto cause should be preserved");
            assertEquals(cause.toString(), exception.getMessage(), "Message should be cause.toString() when only cause is provided");
        }
    
        @Test
        @DisplayName("Message and cause constructor should preserve both crypto parameters")
        void testMessageAndCauseConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            }
        }
    
        @Test
        @DisplayName("Cause-only constructor: preserves provided cause; no interactions with cause")
        void causeOnlyConstructor_preservesCause_andNoInteractions() {
            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException(mockCause);
    
            // Assert cause propagation
            assertSame(mockCause, ex.getCause(), "Cause should be exactly the provided instance");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message Exception message.
         * @param cause Root cause for this exception.
         */
        public ScheduledJobException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructor.
         * @param message Exception message.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (1)
  10. src/test/java/jcifs/CIFSExceptionTest.java

            assertEquals(cause, exception.getCause());
        }
    
        @Test
        @DisplayName("Should create CIFSException with cause only")
        void testCIFSExceptionWithCauseOnly() {
            // Given
            Exception cause = new RuntimeException("Root cause");
    
            // When
            CIFSException exception = new CIFSException(cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(cause, exception.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top