Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 25 of 25 for addSuppressed (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  2. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  3. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  4. 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;
      }
    
      private static @Nullable NoSuchFileException pathNotFound(
          Path path, Collection<IOException> exceptions) {
        if (exceptions.size() != 1) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                    }
                } catch (final Exception e2) {
                    log.debug("Failed to close after failure", e2);
                    e.addSuppressed(e2);
                }
                throw e;
            }
        }
    
        @Override
        public void createNewFile() throws SmbException {
            if (this.fileLocator.isRootOrShare()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top