public class HstComponentFatalException extends HstComponentException
HstComponentFatalException
can be thrown to break out of the HST2 request handling.
This exception is suitable for irrecoverable misconfigurations or errors, where you want fail-fast to inform
the developers about the error they made, instead of only logging a warningConstructor and Description |
---|
HstComponentFatalException()
Constructs a new HstComponent exception.
|
HstComponentFatalException(String message)
Constructs a new HstComponent exception with the given message.
|
HstComponentFatalException(String msg,
Throwable nested)
Constructs a new HstComponentConfigurationException exception when the HstComponent needs to do
the following:
throw an exception
include the "nested" exception
include a description message
|
HstComponentFatalException(Throwable nested)
Constructs a new HstComponent exception with the nested exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HstComponentFatalException()
public HstComponentFatalException(String message)
message
- the exception messagepublic HstComponentFatalException(Throwable nested)
nested
- the nested exceptionpublic HstComponentFatalException(String msg, Throwable nested)
msg
- the exception messagenested
- the nested exceptionCopyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.