Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 319 for Throwables (0.06 sec)

  1. 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.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

          this.delegate = null
          delegate.onClosed(webSocket, code, reason)
        } else {
          events.add(Closed(code, reason))
        }
      }
    
      override fun onFailure(
        webSocket: WebSocket,
        t: Throwable,
        response: Response?,
      ) {
        Platform.get().log("[WS $name] onFailure", Platform.INFO, t)
        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/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.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

          this.runtime = runtime;
        }
    
        @Override
        public void uncaughtException(Thread t, Throwable e) {
          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

         */
        public ClUnsupportedOperationException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a {@link ClUnsupportedOperationException}.
         *
         * @param cause the underlying exception
         */
        public ClUnsupportedOperationException(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)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        get().log("[ES] onClosed", Platform.INFO, null)
        events.add(Closed)
        drainCancelQueue(eventSource)
      }
    
      override fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
        response: Response?,
      ) {
        get().log("[ES] onFailure", Platform.INFO, t)
        events.add(Failure(t, response, t?.message ?: response?.body?.string()))
        drainCancelQueue(eventSource)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

          return sizeIfKnown.get() == 0L;
        }
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return in.read() == -1;
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Returns the size of this source in bytes, if the size can be easily determined without actually
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        }
    
        @Override
        public OptionalThing<ApiResponse> handleServerException(final ApiFailureResource resource, final Throwable cause) {
            return OptionalThing.of(asJson(createFailureBean(Status.SYSTEM_ERROR, createMessage(resource, cause))));
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top