Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for addSuppressed (0.1 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

                }
            }
            if (!exceptions.isEmpty()) {
                InvokerException exception = new InvokerException("Could not cleanly shut down context pool");
                exceptions.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        @Override
        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return residentContext
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

                          try {
                            shutDown();
                          } catch (Exception ignored) {
                            restoreInterruptIfIsInterruptedException(ignored);
                            t.addSuppressed(ignored);
                          }
                          notifyFailed(t);
                          return;
                        }
                      }
    
                      shutDown();
                      notifyStopped();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

                    }
                }
                try {
                    return readXmlModel(pomFile, null, null, options);
                } catch (IOException e) {
                    exceptions.forEach(e::addSuppressed);
                    throw e;
                }
            } else {
                return readXmlModel(pomFile, input, reader, options);
            }
        }
    
        private org.apache.maven.api.model.Model readXmlModel(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          throw failure
        }
    
        val unknownHostException = UnknownHostException(hostname)
        unknownHostException.initCause(failure)
    
        for (i in 1 until failures.size) {
          unknownHostException.addSuppressed(failures[i])
        }
    
        throw unknownHostException
      }
    
      private fun getCacheOnlyResponse(request: Request): Response? {
        if (client.cache != null) {
          try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

                        + Multimaps.filterKeys(servicesByState, not(equalTo(RUNNING))));
            for (Service service : servicesByState.get(State.FAILED)) {
              exception.addSuppressed(new FailedService(service));
            }
            throw exception;
          }
        }
      }
    
      /**
       * A {@link Service} that wraps another service and times how long it takes for it to start and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ServiceManager.java

                        + Multimaps.filterKeys(servicesByState, not(equalTo(RUNNING))));
            for (Service service : servicesByState.get(State.FAILED)) {
              exception.addSuppressed(new FailedService(service));
            }
            throw exception;
          }
        }
      }
    
      /**
       * A {@link Service} that wraps another service and times how long it takes for it to start and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
            if (exception == null) {
              exception = e;
            } else {
              exception.addSuppressed(e);
            }
          }
        }
        if (exception != null) {
          // Normally this is a RuntimeException that doesn't need sneakyThrow.
          // But theoretically we could see sneaky checked exception
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    }
                }
                if (causes != null) {
                    InvokerException exception = new InvokerException("Unable to close context");
                    causes.forEach(exception::addSuppressed);
                    throw exception;
                }
            }
        }
    
        protected final ProtoLookup protoLookup;
    
        public LookupInvoker(ProtoLookup protoLookup) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

                path.toString(),
                null,
                "failed to delete one or more files; see suppressed exceptions for details");
        for (IOException e : exceptions) {
          deleteFailed.addSuppressed(e);
        }
        throw deleteFailed;
      }
    
      @CheckForNull
      private static NoSuchFileException pathNotFound(Path path, Collection<IOException> exceptions) {
        if (exceptions.size() != 1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MoreFiles.java

                path.toString(),
                null,
                "failed to delete one or more files; see suppressed exceptions for details");
        for (IOException e : exceptions) {
          deleteFailed.addSuppressed(e);
        }
        throw deleteFailed;
      }
    
      @CheckForNull
      private static NoSuchFileException pathNotFound(Path path, Collection<IOException> exceptions) {
        if (exceptions.size() != 1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top