Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,093 for cause (0.01 sec)

  1. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseExpectedWhenClause(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseExpectedWhenClause",
    		message:    "Did not find the expected WHEN clause in the SQL expression. CASE is not supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseUnsupportedToken(err error) *s3Error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            });
    
            // Test throwing and catching with cause
            RuntimeException cause = new RuntimeException("Cause");
            TransportException thrown = assertThrows(TransportException.class, () -> {
                throw new TransportException(cause);
            });
            assertEquals(cause, thrown.getCause());
    
            // Test throwing and catching with message and cause
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. internal/s3select/sql/errors.go

    package sql
    
    import "fmt"
    
    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
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      protected final void notifyFailed(Throwable cause) {
        checkNotNull(cause);
    
        monitor.enter();
        try {
          State previous = state();
          switch (previous) {
            case NEW:
            case TERMINATED:
              throw new IllegalStateException("Failed while in state:" + previous, cause);
            case RUNNING:
            case STARTING:
            case STOPPING:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

         * The abort flag is set to false by default.
         *
         * @param url the URL where the crawling error occurred
         * @param message the error message
         * @param cause the underlying exception that caused this error
         */
        public DataStoreCrawlingException(final String url, final String message, final Throwable cause) {
            this(url, message, cause, false);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

         *
         * @param message
         * @param cause
         * @since 2.0.9
         */
        public MojoFailureException(String message, Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new {@code MojoFailureException} exception wrapping an underlying {@code Throwable}.
         *
         * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            void testGetRootCause() {
                Exception rootCause = new IllegalStateException("Test root cause");
                TransportException exception = new TransportException("Message", rootCause);
    
                assertEquals(rootCause, exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should return null when no root cause")
            void testGetRootCauseWhenNull() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Arrange - use a real cause so message is derived from cause.toString()
            Throwable cause = new IllegalStateException("proto mismatch");
            String expectedMessage = cause.toString();
    
            // Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(cause);
    
            // Assert - cause preserved, message derived from cause
            assertSame(cause, ex.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginLoaderException.java

            super(message, cause);
            pluginKey = plugin.getKey();
        }
    
        public PluginLoaderException(Plugin plugin, String message, PluginManagerException cause) {
            super(message, cause);
            pluginKey = plugin.getKey();
        }
    
        public PluginLoaderException(Plugin plugin, String message, PluginVersionNotFoundException cause) {
            super(message, cause);
            pluginKey = plugin.getKey();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top