static interface Closer.Suppressor
| Modifier and Type | Method and Description |
|---|---|
void |
suppress(java.io.Closeable closeable,
java.lang.Throwable thrown,
java.lang.Throwable suppressed)
Suppresses the given exception (
suppressed) which was thrown when attempting to close
the given closeable. |
void suppress(java.io.Closeable closeable,
java.lang.Throwable thrown,
java.lang.Throwable suppressed)
suppressed) which was thrown when attempting to close
the given closeable. thrown is the exception that is actually being thrown from the
method. Implementations of this method should not throw under any circumstances.