Class MatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hippoecm.hst.configuration.hosting.MatchException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NotFoundException
Exception which can be thrown when matching fails
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new ContainerException exception.MatchException
(String message) Constructs a new MatchException exception with the given message.MatchException
(String msg, Throwable nested) Constructs a new MatchException exception when the container needs to do the following: throw an exception include the "nested" exception include a description messageMatchException
(Throwable nested) Constructs a new MatchException 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
-
MatchException
public MatchException()Constructs a new ContainerException exception. -
MatchException
Constructs a new MatchException exception with the given message.- Parameters:
message
- the exception message
-
MatchException
Constructs a new MatchException exception with the nested exception.- Parameters:
nested
- the nested exception
-
MatchException
Constructs a new MatchException 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
-