Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 578 for Throwable (0.08 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        static final Failure FALLBACK_INSTANCE =
            new Failure(
                new Throwable("Failure occurred while trying to finish a future.") {
                  @Override
                  public Throwable fillInStackTrace() {
                    return this; // no stack trace
                  }
                });
        final Throwable exception;
    
        Failure(Throwable exception) {
          this.exception = checkNotNull(exception);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNestedCause() {
            // Test constructor with nested exceptions
            Throwable rootCause = new IllegalStateException("Root cause");
            Throwable intermediateCause = new RuntimeException("Intermediate cause", rootCause);
            String message = "Top level error";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        @DisplayName("Should create RuntimeCIFSException with cause")
        void testConstructorWithCause() {
            // Given
            Throwable cause = new IllegalArgumentException("Invalid argument");
    
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(cause);
    
            // Then
            assertNotNull(exception);
    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. src/main/java/jcifs/smb1/smb1/SmbException.java

            return errcode + "";
        }
    
        /** The SMB error status code */
        private int status;
        /** The root cause exception */
        private Throwable rootCause;
    
        SmbException() {
        }
    
        SmbException(final int errcode, final Throwable rootCause) {
            super(getMessageByCode(errcode));
            status = getStatusByCode(errcode);
            this.rootCause = rootCause;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

        }
    
        public ModelParserException(String message, Throwable cause) {
            this(message, -1, -1, cause);
        }
    
        public ModelParserException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message, cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        public ModelParserException(Throwable cause) {
            this(null, cause);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Sep 22 07:25:10 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

    /**
     * Tests for SMBProtocolDecodingException covering all constructors and observable behavior.
     */
    @ExtendWith(MockitoExtension.class)
    public class SMBProtocolDecodingExceptionTest {
    
        @Mock
        Throwable mockCause;
    
        @Test
        @DisplayName("No-arg constructor: null message and cause; can be thrown")
        void defaultConstructor_behavesAsExpected() {
            // Arrange & Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/transport/TransportException.java

         */
        public TransportException(final Throwable rootCause) {
            super(rootCause);
        }
    
        /**
         * Constructs a new TransportException with the specified detail message and cause.
         * @param msg the detail message
         * @param rootCause the cause of this exception
         */
        public TransportException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       */
      public UncheckedExecutionException(@Nullable String message, @Nullable Throwable 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.
       */
      public UncheckedExecutionException(@Nullable Throwable cause) {
        super(cause);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        }
      }
    
      private static final class WrapperException extends Exception {
        WrapperException(Throwable t) {
          super(t);
        }
      }
    
      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
        if (wrapper instanceof WrapperException) {
          Throwable cause = wrapper.getCause();
          if (cause instanceof RuntimeException) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.3K bytes
    - Click Count (0)
Back to Top