Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,810 for cause (0.02 seconds)

  1. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. internal/s3select/json/errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package json
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

        @Test
        @DisplayName("Should provide correct cause for constructor with cause only")
        void testCauseOnlyConstructorMessage() {
            // Given
            RuntimeException cause = new RuntimeException("Specific cause message");
    
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(cause);
    
            // Then
            assertEquals(cause, exception.getCause());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThat(getRootCause(exception)).isSameInstanceAs(cause);
      }
    
      public void testGetRootCause_loop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getRootCause(cause));
        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test constructor with cause only
            Throwable cause = new IllegalArgumentException("Cause exception");
            FessSystemException exception = new FessSystemException(cause);
    
            assertEquals(cause, exception.getCause());
            // When constructed with cause only, message contains the cause's toString()
            assertTrue(exception.getMessage().contains(cause.getClass().getName()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/VerifyException.java

       * Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code
       * null} if {@code cause} is null, and {@code cause.toString()} otherwise.
       *
       * @since 19.0
       */
      public VerifyException(@Nullable Throwable cause) {
        super(cause);
      }
    
      /**
       * Constructs a {@code VerifyException} with the message {@code message} and the cause {@code
       * cause}.
       *
       * @since 19.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            final Exception cause = new RuntimeException("Test cause");
    
            // Execute
            final SsoMessageException exception = new SsoMessageException(null, message, cause);
    
            // Verify
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertNull(exception.getMessageCode());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

        public InvalidRepositoryException(String message, String repositoryId, MalformedURLException cause) {
            super(message, cause);
            this.repositoryId = repositoryId;
        }
    
        protected InvalidRepositoryException(String message, String repositoryId, ComponentLookupException cause) {
            super(message, cause);
            this.repositoryId = repositoryId;
        }
    
        @Deprecated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

        /**
         * Constructs a new SuggesterException with the specified cause.
         * @param cause The cause.
         */
        public SuggesterException(final Throwable cause) {
            super(cause);
        }
    
        /**
         * Constructs a new SuggesterException with the specified detail message and cause.
         * @param msg The detail message.
         * @param cause The cause.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

        /**
         * Creates a {@link SAXRuntimeException}.
         *
         * @param cause the underlying exception
         */
        public SAXRuntimeException(final SAXException cause) {
            super("ECL0054", asArray(createMessage(cause)), cause);
        }
    
        /**
         * Creates a message.
         *
         * @param cause the underlying exception
         * @return the message
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top