Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 319 for Throwables (0.11 sec)

  1. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          wrapAndThrowRuntimeExecutionExceptionOrError(e.getCause());
          throw new AssertionError();
        }
      }
    
      private static Exception throwCause(Exception e, boolean combineStackTraces) throws Exception {
        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
          StackTraceElement[] combined =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            assertEquals("test_stackTracePresent", firstElement.getMethodName());
        }
    
        public void test_nestedExceptionChain() {
            // Test nested exception chain
            Throwable rootCause = new IllegalArgumentException("Root cause");
            Throwable middleCause = new IllegalStateException("Middle cause", rootCause);
            ScheduledJobException exception = new ScheduledJobException("Top level error", middleCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullCause() {
            // Test with null cause
            DataStoreException exception = new DataStoreException((Throwable) null);
    
            assertNotNull(exception);
            assertNull(exception.getCause());
            assertNull(exception.getMessage());
        }
    
        public void test_constructor_withNullMessageAndCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * returns {@code true}. Calling {@code get()} will immediately throw the provided {@code
       * Throwable} wrapped in an {@code ExecutionException}.
       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFailedFuture(
          Throwable throwable) {
        checkNotNull(throwable);
        return new ImmediateFailedFuture<>(throwable);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertEquals("Top level SSO error", exception.getMessage());
    
            // Verify the exception chain
            Throwable cause1 = exception.getCause();
            assertNotNull(cause1);
            assertTrue(cause1 instanceof IOException);
            assertEquals("Level 1 error", cause1.getMessage());
    
            Throwable cause2 = cause1.getCause();
            assertNotNull(cause2);
            assertTrue(cause2 instanceof IllegalStateException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/SearchQueryException.java

         *
         * @param message The detail message explaining the exception
         * @param cause The cause of this exception
         */
        public SearchQueryException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new SearchQueryException with the specified detail message.
         *
         * @param message The detail message explaining the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

            this(messageCode, new Object[0], cause);
        }
    
        /**
         * Creates {@link ClRuntimeException}.
         *
         * @param messageCode message code
         * @param args arguments for messages
         * @param cause cause of exception
         */
        public ClRuntimeException(final String messageCode, final Object[] args, final Throwable cause) {
            super(cause);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.1K bytes
    - Viewed (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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException("Query parsing failed");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            Throwable cause = queryParseException.getCause();
            assertNotNull(cause);
            assertTrue(cause instanceof ParseException);
            assertEquals(parseException, cause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top