public class Exceptions
extends java.lang.Object
Constructor and Description |
---|
Exceptions() |
Modifier and Type | Method and Description |
---|---|
static void |
addSuppressed(java.lang.Throwable owner,
java.lang.Throwable add)
Invoke
Throwable#addSuppressed(Throwable) reflectively if it is available. |
static <T> T |
throwUncheckedException(java.lang.Throwable e) |
public static <T> T throwUncheckedException(java.lang.Throwable e)
public static void addSuppressed(java.lang.Throwable owner, java.lang.Throwable add)
Throwable#addSuppressed(Throwable)
reflectively if it is available.
It is not available on JRE < 1.7