Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 243 for Cause (0.44 seconds)

  1. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errColumnTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ColumnTooLong",
    		message:    "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errOverMaxColumn(err error) *s3Error {
    	return &s3Error{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Test constructor with message and cause
            String message = "Query parsing failed";
            Exception cause = new IllegalArgumentException("Invalid query syntax");
    
            SearchQueryException exception = new SearchQueryException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            // Test constructor with message and cause
            String message = "SSO authentication error";
            Exception cause = new RuntimeException("Token validation failed");
            SsoLoginException exception = new SsoLoginException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

        private long extractNtStatus(Throwable cause) {
            if (cause instanceof SmbException) {
                return ((SmbException) cause).getNtStatus();
            }
            return 0;
        }
    
        private String extractServerMessage(Throwable cause) {
            if (cause instanceof SmbException) {
                // Try to get server message from SMB exception
                return cause.getMessage();
            }
            return null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            String message = "Test error message";
            Exception cause = new RuntimeException("Root cause");
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause);
    
            assertEquals(url, exception.getUrl());
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertFalse(exception.aborted());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            // Test constructor with null component name and valid cause
            Throwable cause = new RuntimeException("Test cause");
            ContainerNotAvailableException exception = new ContainerNotAvailableException(null, cause);
    
            assertEquals("null is not available.", exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertNull(exception.getComponentName());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top