Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 620 for Cause (0.05 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java

         * Constructs a new SuggestSettingsException with the specified cause.
         * @param cause The cause.
         */
        public SuggestSettingsException(final Throwable cause) {
            super(cause);
        }
    
        /**
         * Constructs a new SuggestSettingsException with the specified detail message and cause.
         * @param msg The detail message.
         * @param cause The cause.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginExecutionException.java

            super(mojoExecution.getMojoDescriptor(), project, message, cause);
            this.mojoExecution = mojoExecution;
        }
    
        public PluginExecutionException(MojoExecution mojoExecution, MavenProject project, Exception cause) {
            super(mojoExecution.getMojoDescriptor(), project, constructMessage(mojoExecution, cause), cause);
            this.mojoExecution = mojoExecution;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        void testWithCause() {
            // Given
            IllegalArgumentException cause = new IllegalArgumentException("bad arg");
    
            // When
            SpnegoException ex = new SpnegoException(cause);
    
            // Then
            assertNotNull(ex);
            assertEquals(cause, ex.getCause());
            // IOException(Throwable) sets message to cause.toString()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataRetrievalException.java

        }
    
        /**
         * @param cause a cause
         * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)}
         */
        @Deprecated
        public ArtifactMetadataRetrievalException(Throwable cause) {
            super(null, cause, null);
        }
    
        /**
         * @param message a message
         * @param cause a cause
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/CIFSException.java

        }
    
        /**
         * Constructs a CIFS exception with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of this exception
         */
        public CIFSException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a CIFS exception with the specified detail message.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

        }
    
        /**
         * Constructs a new SMBProtocolDecodingException with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of the exception
         */
        public SMBProtocolDecodingException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new SMBProtocolDecodingException with the specified detail message.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PACDecodingException.java

         * Constructs a new PAC decoding exception with the specified cause.
         * @param cause the cause of the exception
         */
        public PACDecodingException(final Throwable cause) {
            this(null, cause);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message and cause.
         * @param message the detail message
         * @param cause the cause of the exception
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

        /**
         * Constructs a new SuggestIndexException with the specified cause.
         * @param cause The cause.
         */
        public SuggestIndexException(final Throwable cause) {
            super(cause);
        }
    
        /**
         * Constructs a new SuggestIndexException with the specified detail message and cause.
         * @param msg The detail message.
         * @param cause The cause.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top