class Exceptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Exceptions.UnhandledCheckedUserException
A marker exception class that we look for in order to unwrap the exception
into the user exception, to provide a cleaner stack trace.
|
Constructor and Description |
---|
Exceptions() |
Modifier and Type | Method and Description |
---|---|
static java.lang.RuntimeException |
rethrow(java.lang.Throwable throwable)
Rethrows the exception.
|
static java.lang.RuntimeException |
rethrowCause(java.lang.Throwable throwable)
Rethrows the exception (or it's cause, if it has one) directly if possible.
|
public static java.lang.RuntimeException rethrowCause(java.lang.Throwable throwable)
public static java.lang.RuntimeException rethrow(java.lang.Throwable throwable)