Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 578 for Throwable (0.05 seconds)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

                          resolve.onInvoke(value);
                        }
    
                        @Override
                        public void onFailure(Throwable throwable) {
                          reject.onInvoke(throwable.getBackingJsObject());
                        }
                      },
                      MoreExecutors.directExecutor());
                })
            .then(onFulfilled, onRejected);
      }
    }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

        }
    
        @Test
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
            String message = "Test exception message with cause";
            Throwable cause = new RuntimeException("Root cause");
            FessSystemException exception = new FessSystemException(message, cause);
    
            assertEquals(message, exception.getMessage());
    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)
  3. src/main/java/jcifs/smb/SmbException.java

         *
         * @param errcode the SMB error code
         * @param rootCause the underlying cause of this exception
         */
        public SmbException(final int errcode, final Throwable rootCause) {
            super(getMessageByCode(errcode), rootCause);
            this.status = getStatusByCode(errcode);
        }
    
        /**
         * Constructs an SmbException with the specified detail message
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                            for (Object next : feedback) {
                                if (next instanceof Throwable throwable) {
                                    if (last == null) {
                                        logger.debug("", throwable);
                                    } else {
                                        logger.debug(String.valueOf(last), throwable);
                                    }
                                } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

         * @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);
        }
    
        /**
         * Creates a new DataStoreCrawlingException with the specified URL, message, cause, and abort flag.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

        /**
         * Validate message+cause constructor and that no interaction with cause occurs during construction.
         */
        @Test
        @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status")
        void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) {
            // Arrange
            String msg = "auth failed";
    
            // Act
            SmbAuthException ex = new SmbAuthException(msg, mockCause);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        @Test
        @DisplayName("Mocked cause: no interactions occur when stored as cause")
        void mockedCause_isStored_withoutInteraction() {
            // Arrange
            Throwable mocked = mock(Throwable.class);
    
            // Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException("msg", mocked);
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

      public final ImmutableList<TypeToken<? extends Throwable>> getExceptionTypes() {
        ImmutableList.Builder<TypeToken<? extends Throwable>> builder = ImmutableList.builder();
        for (Type type : getGenericExceptionTypes()) {
          // getGenericExceptionTypes() will never return a type that's not exception
          @SuppressWarnings("unchecked")
          TypeToken<? extends Throwable> exceptionType =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serialization() {
            // Test serialVersionUID exists
            ResultOffsetExceededException exception = new ResultOffsetExceededException("Test serialization");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            // When
            SpnegoException ex = new SpnegoException(cause);
    
            // Then
            assertNotNull(ex);
            assertEquals(cause, ex.getCause());
            // IOException(Throwable) sets message to cause.toString()
            assertEquals(cause.toString(), ex.getMessage());
        }
    
        @Test
        @DisplayName("Should create SpnegoException with message and cause")
        void testWithMessageAndCause() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top