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
public class HstComponentException extends RuntimeException
TheHstComponentException
class defines a general exception that a HstComponent can throw when it is unable to perform its operation successfully.- Version:
- $Id$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HstComponentException()
Constructs 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 Detail
-
HstComponentException
public HstComponentException()
Constructs a new HstComponent exception.
-
HstComponentException
public HstComponentException(String message)
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
public HstComponentException(Throwable nested)
Constructs a new HstComponent exception with the nested exception.- Parameters:
nested
- the nested exception
-
HstComponentException
public 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 message
- Parameters:
msg
- the exception messagenested
- the nested exception
-
-