public class Exceptions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
close(java.io.Closeable closeable,
boolean suppressExceptions) |
static <E extends java.lang.Exception> |
suppressAndThrow(E alreadyThrown,
java.lang.Runnable run) |
static <E extends java.lang.Exception> |
suppressExceptions(E alreadyThrown,
java.lang.Runnable run) |
public static void close(java.io.Closeable closeable, boolean suppressExceptions)
public static <E extends java.lang.Exception> E suppressExceptions(E alreadyThrown, java.lang.Runnable run)
public static <E extends java.lang.Exception> void suppressAndThrow(E alreadyThrown, java.lang.Runnable run) throws E extends java.lang.Exception
E extends java.lang.Exception