Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 34 of 34 for addSuppressed (0.05 seconds)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

            } catch (final IOException ioe) {
                log.warn("send failed", ioe);
                try {
                    disconnect(true);
                } catch (final IOException ioe2) {
                    ioe.addSuppressed(ioe2);
                    log.error("disconnect failed", ioe2);
                }
                throw ioe;
            }
        }
    
        // must be synchronized with peekKey
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  4. 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