Package org.hippoecm.hst.core.component
Class HstComponentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hippoecm.hst.core.component.HstComponentException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HstComponentFatalException
The
HstComponentException
class defines a general exception
that a HstComponent can throw when it is unable to perform its operation
successfully.- Version:
- $Id$
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new HstComponent exception.HstComponentException
(String message) Constructs a new HstComponent exception with the given message.HstComponentException
(String msg, Throwable nested) Constructs a new HstComponent exception when the HstComponent needs to do the following: throw an exception include the "nested" exception include a description messageHstComponentException
(Throwable nested) Constructs a new HstComponent exception with the nested exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HstComponentException
public HstComponentException()Constructs a new HstComponent exception. -
HstComponentException
Constructs a new HstComponent exception with the given message. The HstComponent container may use the message write it to a log.- Parameters:
message
- the exception message
-
HstComponentException
Constructs a new HstComponent exception with the nested exception.- Parameters:
nested
- the nested exception
-
HstComponentException
Constructs a new HstComponent exception when the HstComponent needs to do the following:- throw an exception
- include the "nested" exception
- include a description message
- Parameters:
msg
- the exception messagenested
- the nested exception
-