Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,093 for cause (0.02 sec)

  1. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

            // Expect the message to be set correctly and cause to be null
            assertEquals(errorMessage, e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a cause.
         */
        @Test
        void testCauseConstructor() {
            Throwable cause = new RuntimeException("Root cause");
            PACDecodingException e = new PACDecodingException(cause);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        void testToStringWithRootCause() {
            RuntimeException cause = new RuntimeException("boom");
            SmbException ex = new SmbException(0, cause);
            assertTrue(ex.toString().contains("RuntimeException"), "String representation must include the root cause stack trace");
        }
    
        /**
         * Verify that {@link #toString()} with no root cause equals the default
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       * non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@Nullable String message, @Nullable Error cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

         *
         * @param cause the underlying exception
         */
        public SQLRuntimeException(final SQLException cause) {
            super("ECL0072", asArray(getSql(cause), getRealMessage(cause), Integer.toString(cause.getErrorCode()), cause.getSQLState()), cause);
        }
    
        /**
         * Returns the <code>SQL</code>.
         *
         * @param cause the underlying exception
         * @return the <code>SQL</code>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

            super(project, execTime, wallTime);
            this.cause = cause;
        }
    
        /**
         * Gets the cause of the build failure.
         *
         * @return The cause of the build failure or {@code null} if unknown.
         */
        public Throwable getCause() {
            return cause;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        @DisplayName("Message+Cause ctor: propagates message/cause and unsuccessful status")
        void messageAndCauseConstructor_setsMessageCause_andUnsuccessfulStatus(String msg) {
            // Arrange
            Throwable cause = new IllegalStateException("root cause");
    
            // Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException(msg, cause);
    
            // Assert
            if (msg == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K 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/SsoProcessException.java

         * @param message The detailed error message explaining the cause of the exception
         */
        public SsoProcessException(final String message) {
            super(message);
        }
    
        /**
         * Constructs a new SSO process exception with the specified detailed message and cause.
         *
         * @param message The detailed error message explaining the cause of the exception
         * @param cause The underlying exception that caused this SSO process exception
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top