Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 459 for throwable (0.1 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      /**
       * Fails this future with the given Throwable if {@link #allMustSucceed} is true. Also, logs the
       * throwable if it is an {@link Error} or if {@link #allMustSucceed} is {@code true}, the
       * throwable did not cause this future to fail, and it is the first time we've seen that
       * particular Throwable.
       */
      private void handleException(Throwable throwable) {
        checkNotNull(throwable);
    
        if (allMustSucceed) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SettableFuture.java

      @Override
      public boolean set(@ParametricNullness V value) {
        return super.set(value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setException(Throwable throwable) {
        return super.setException(throwable);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setFuture(ListenableFuture<? extends V> future) {
        return super.setFuture(future);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

                break;
            }
        }
    
        protected void processDefault(final Object... objs) {
        }
    
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
                logger.error("System Error.", t);
            }
        }
    
        protected void processNoRule(final Object... objs) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        protected boolean setException(Throwable throwable) {
          boolean result = sync.setException(checkNotNull(throwable));
          if (result) {
            executionList.execute();
          }
          return result;
        }
    
        /**
         * Following the contract of {@link AbstractQueuedSynchronizer} we create a private subclass to
         * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            return weakSetValidator();
          }
        }
      }
    
      // TODO(cpovirk): change parameter order to match other helper methods (Class, Throwable)?
      private static <X extends Exception> void wrapAndThrowExceptionOrError(
          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    
        public MockCallback(Throwable expectedFailure) {
          this.failure = expectedFailure;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

        private final Mojo mojo;
    
        private final Throwable cause;
    
        public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) {
            this(session, project, mojoExecution, mojo, null);
        }
    
        public MojoExecutionEvent(
                MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) {
            this.session = session;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

         * @param content
         * @param error
         */
        void debug(CharSequence content, Throwable error);
    
        /**
         * Send an exception to the user in the <b>debug</b> error level.<br>
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error
         */
        void debug(Throwable error);
    
        /**
         * @return true if the <b>info</b> error level is enabled
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/internal/Finalizer.java

            long defaultStackSize = 0;
            thread =
                bigThreadConstructor.newInstance(
                    (ThreadGroup) null, finalizer, threadName, defaultStackSize, inheritThreadLocals);
          } catch (Throwable t) {
            logger.log(
                Level.INFO, "Failed to create a thread without inherited thread-local values", t);
          }
        }
        if (thread == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top