Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 325 for throwable (0.07 sec)

  1. src/main/java/org/codelibs/core/exception/ClIllegalStateException.java

         */
        public ClIllegalStateException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a {@link ClIllegalStateException}.
         *
         * @param cause
         *            The original exception
         */
        public ClIllegalStateException(final Throwable cause) {
            super(cause);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          "يa",
        )
    
      @Test
      fun test() {
        val list = WebPlatformToAsciiData.load()
        val failures = mutableListOf<Throwable>()
        for (entry in list) {
          var failure: Throwable? = null
          try {
            testToAscii(entry.input!!, entry.output, entry.comment)
          } catch (e: Throwable) {
            failure = e
          }
    
          if (entry.input in knownFailures) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * @param executor the executor that runs {@code fallback} if the input fails
       */
      @J2ktIncompatible
      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public final <X extends Throwable> FluentFuture<V> catching(
          Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) {
        return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * so tests pass on GraalVM, where suppressed exceptions are silently discarded.
       *
       * https://github.com/oracle/graal/issues/3008
       */
      @JvmStatic
      fun Throwable.assertSuppressed(block: (List<@JvmSuppressWildcards Throwable>) -> Unit) {
        if (isGraalVmImage) return
        block(suppressed.toList())
      }
    
      @JvmStatic
      fun threadFactory(name: String): ThreadFactory =
        object : ThreadFactory {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

     * proxy in a list, looking up a subsequent one may succeed.
     */
    internal class FailedPlan(
      e: Throwable,
    ) : RoutePlanner.Plan {
      val result = RoutePlanner.ConnectResult(plan = this, throwable = e)
    
      override val isReady = false
    
      override fun connectTcp() = result
    
      override fun connectTlsEtc() = result
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class JobProcessingExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withCause() {
            // Test constructor with Throwable cause
            final Exception cause = new RuntimeException("Root cause");
            final JobProcessingException exception = new JobProcessingException(cause);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            // to currentFuture doesn't race with itself so that currentFuture is assigned in the
            // correct order.
            Throwable scheduleFailure = null;
            Cancellable toReturn;
            lock.lock();
            try {
              toReturn = initializeOrUpdateCancellationDelegate(schedule);
            } catch (Throwable e) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. android/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. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            try {
                throw new DictionaryExpiredException();
            } catch (DictionaryExpiredException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

                      // which case we should skip right down to shutdown.
                      if (isRunning()) {
                        try {
                          AbstractExecutionThreadService.this.run();
                        } catch (Throwable t) {
                          restoreInterruptIfIsInterruptedException(t);
                          try {
                            shutDown();
                          } catch (Exception ignored) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top