Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 325 for throwable (0.13 sec)

  1. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.reflect.AbstractInvocationHandler;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/exception/FessSystemException.java

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

        /**
         * Constructor.
         * @param message Exception message.
         * @param cause Root cause for this exception.
         */
        public ScheduledJobException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructor.
         * @param message Exception message.
         */
        public ScheduledJobException(final String message) {
            super(message);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (1)
Back to top