public class BootstrapException extends Exception
Constructor and Description |
---|
BootstrapException()
Constructs a
BootstrapException with null as
the target exception. |
BootstrapException(Exception target)
Constructs a
BootstrapException with a target exception. |
BootstrapException(String message)
Constructs a
BootstrapException with the specified
detail message. |
BootstrapException(String message,
Exception target)
Constructs a
BootstrapException with the specified
detail message and a target exception. |
Modifier and Type | Method and Description |
---|---|
Exception |
getTargetException()
Get the thrown target exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BootstrapException()
BootstrapException
with null
as
the target exception.public BootstrapException(String message)
BootstrapException
with the specified
detail message.message
- the detail messagepublic BootstrapException(String message, Exception target)
BootstrapException
with the specified
detail message and a target exception.message
- the detail messagetarget
- the target exceptionpublic BootstrapException(Exception target)
BootstrapException
with a target exception.target
- the target exceptionpublic Exception getTargetException()