Package org.hippoecm.hst.core.container
Class ContainerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.hippoecm.hst.core.container.ContainerException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContainerNotFoundException
,ContainerSecurityException
public class ContainerException extends Exception
TheContainerException
class defines a general exception that an internal container component can throw when it is unable to perform its operation successfully.- Version:
- $Id$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContainerException()
Constructs a new ContainerException exception.ContainerException(String message)
Constructs a new ContainerException exception with the given message.ContainerException(String msg, Throwable nested)
Constructs a new ContainerException exception when the container needs to do the following: throw an exception include the "nested" exception include a description messageContainerException(Throwable nested)
Constructs a new ContainerException 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
-
ContainerException
public ContainerException()
Constructs a new ContainerException exception.
-
ContainerException
public ContainerException(String message)
Constructs a new ContainerException exception with the given message.- Parameters:
message
- the exception message
-
ContainerException
public ContainerException(Throwable nested)
Constructs a new ContainerException exception with the nested exception.- Parameters:
nested
- the nested exception
-
ContainerException
public ContainerException(String msg, Throwable nested)
Constructs a new ContainerException exception when the container needs to do the following:- throw an exception
- include the "nested" exception
- include a description message
- Parameters:
msg
- the exception messagenested
- the nested exception
-
-