Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 433 for throwable (0.05 sec)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serializable() {
            // Test that the exception has serialVersionUID
            WebApiException exception = new WebApiException(404, "Not Found");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            verify(delegate, times(1)).release();
        }
    
        @Test
        @DisplayName("finalize() invokes checkRelease exactly once")
        void finalize_invokes_checkRelease() throws Throwable {
            // Arrange: spy to verify internal interaction with checkRelease()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("SuggestCreator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Suggest creator does not work correctly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (systemMonitorTask != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    default:
                        logger.error("Unknown thumbnail result: {} -> {}", thumbnailId, responseData.getUrl());
                        break;
                    }
                } catch (final Throwable t) {
                    logger.warn("Failed to create thumbnail: {} -> {} ({}:{})", thumbnailId, responseData.getUrl(),
                            t.getClass().getCanonicalName(), t.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                task = withLock {
                  afterRun(task, delayNanos, true)
                  awaitTaskToRun()
                } ?: return
              }
            } catch (thrown: Throwable) {
              // A task failed. Update execution state and re-throw the exception.
              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (this.usageCount != null && this.usageCount.get() != 0 && this.open) {
                    log.warn("File handle was not properly closed, performing emergency cleanup: " + this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      public <X extends Throwable> ClosingFuture<V> catching(
          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
      // Avoids generic type capture inconsistency problems where |? extends V| is incompatible with V.
      private <X extends Throwable, W extends V> ClosingFuture<V> catchingMoreGeneric(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        )
        val e = RuntimeException("boom")
        clientListener.setNextEventDelegate(
          object : WebSocketListener() {
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ): Unit = throw e
          },
        )
        newWebSocket()
        assertThat(testLogHandler.take()).isEqualTo("INFO: [WS client] onFailure")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            }
        }
    
        @Test
        @DisplayName("Should pass null for SmbAuthException when error is not SmbAuthException")
        void testRenewCredentials_WithErrorNotSmbAuthException() {
            Throwable genericError = new RuntimeException("Generic Error");
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

                }
              }
            };
        thread.setUncaughtExceptionHandler(
            new UncaughtExceptionHandler() {
              @Override
              public void uncaughtException(Thread t, Throwable e) {}
            });
        thread.start();
    
        boolean done = doneSignal.await(1, SECONDS);
        if (!done) {
          StringBuilder builder = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top