Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 344 for Throwable (0.05 seconds)

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

          notifyStopped();
        }
      }
    
      /** This is never thrown but only used for logging. */
      private static final class EmptyServiceManagerWarning extends Throwable {}
    
      private static final class FailedService extends Throwable {
        FailedService(Service service) {
          super(
              service.toString(),
              service.failureCause(),
              false /* don't enable suppression */,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 33.2K bytes
    - Click Count (1)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

          notifyStopped();
        }
      }
    
      /** This is never thrown but only used for logging. */
      private static final class EmptyServiceManagerWarning extends Throwable {}
    
      private static final class FailedService extends Throwable {
        FailedService(Service service) {
          super(
              service.toString(),
              service.failureCause(),
              false /* don't enable suppression */,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * ATOMIC_HELPER. That initialization code may log after we assign to ATOMIC_HELPER.
       */
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      static {
        AtomicHelper helper;
        Throwable thrownUnsafeFailure = null;
        Throwable thrownAtomicReferenceFieldUpdaterFailure = null;
    
        helper = VarHandleAtomicHelperMaker.INSTANCE.tryMakeVarHandleAtomicHelper();
        if (helper == null) {
          try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

      }
    
      private static final class TimeoutFutureException extends TimeoutException {
        private TimeoutFutureException(String message) {
          super(message);
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
          setStackTrace(new StackTraceElement[0]);
          return this; // no stack trace, wouldn't be useful anyway
        }
      }
    
      @Override
      protected @Nullable String pendingToString() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        break;
                    case TEARDOWN:
                        attachToThread(step);
    
                        // Check if there are any stored exceptions for this project
                        List<Throwable> failures = null;
                        boolean allStepsExecuted = true;
                        for (BuildStep projectStep : plan.steps(step.project).toList()) {
                            Exception exception = projectStep.exception;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        throw exception
      }
    }
    
    internal fun <E> MutableList<E>.addIfAbsent(element: E) {
      if (!contains(element)) add(element)
    }
    
    internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable =
      apply {
        for (e in suppressed) addSuppressed(e)
      }
    
    internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> {
      var result: List<T> = emptyList()
      for (i in this) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(e)
            .hasMessageThat()
            .contains("Expected to be healthy after starting. The following services are not running:");
    
        Throwable[] suppressed = e.getSuppressed();
        assertThat(suppressed).hasLength(2);
        assertThat(suppressed[0]).hasCauseThat().isInstanceOf(IllegalStateException.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  8. 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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/pom.xml

                  <!--              <exclude>org.apache.maven.model.resolution.InvalidRepositoryException#InvalidRepositoryException(java.lang.String,org.apache.maven.model.Repository,java.lang.Throwable):CONSTRUCTOR_REMOVED</exclude>-->
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. 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) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top