Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 325 for throwable (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testForwardExceptionFastPath() throws Exception {
        class FailFuture extends InternalFutureFailureAccess implements ListenableFuture<String> {
          final Throwable failure;
    
          FailFuture(Throwable throwable) {
            failure = throwable;
          }
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
      @Test
      fun testLoggingEventListener() {
        val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build()
    
        try {
          client.newCall(request).execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. 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);
        }
    
        public void test_serialization() {
            // Test serialVersionUID exists
            ResultOffsetExceededException exception = new ResultOffsetExceededException("Test serialization");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top