public class HawaiiException extends RuntimeException
Constructor and Description |
---|
HawaiiException()
Constructs a new
HawaiiException . |
HawaiiException(String message)
Constructs a new
HawaiiException with the supplied message. |
HawaiiException(String message,
Throwable cause)
Constructs a new
HawaiiException with the supplied message and Throwable . |
HawaiiException(Throwable cause)
Constructs a new
HawaiiException with the supplied Throwable . |
Modifier and Type | Method and Description |
---|---|
static Throwable |
getCausingHawaiiException(Throwable throwable)
Returns the first
HawaiiException encountered in the chain of exception causes,
or the original throwable if no HawaiiException can be found. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HawaiiException()
HawaiiException
.public HawaiiException(String message)
HawaiiException
with the supplied message.public HawaiiException(String message, Throwable cause)
HawaiiException
with the supplied message and Throwable
.public static Throwable getCausingHawaiiException(Throwable throwable)
HawaiiException
encountered in the chain of exception causes,
or the original throwable if no HawaiiException
can be found.throwable
- the Throwable to examine, must not be null