Package com.google.common.io
Class Closer.LoggingSuppressor
java.lang.Object
com.google.common.io.Closer.LoggingSuppressor
- All Implemented Interfaces:
Closer.Suppressor
- Enclosing class:
Closer
Suppresses exceptions by logging them.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LoggingSuppressor
LoggingSuppressor()
-
-
Method Details
-
suppress
Description copied from interface:Closer.Suppressor
Suppresses the given exception (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.- Specified by:
suppress
in interfaceCloser.Suppressor
-