Class NotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.hippoecm.hst.configuration.hosting.MatchException
-
- org.hippoecm.hst.configuration.hosting.NotFoundException
-
- All Implemented Interfaces:
Serializable
public class NotFoundException extends MatchException
When a request fails to match for example a HstSiteMapItem because the request path can match the sitemap tree, this exception should be thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotFoundException()
Constructs a new ContainerException exception.NotFoundException(String message)
Constructs a new NotFoundExceptiion exception with the given message.NotFoundException(String msg, Throwable nested)
Constructs a new NotFoundExceptiion exception when the container needs to do the following: throw an exception include the "nested" exception include a description messageNotFoundException(Throwable nested)
Constructs a new NotFoundExceptiion 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
-
NotFoundException
public NotFoundException()
Constructs a new ContainerException exception.
-
NotFoundException
public NotFoundException(String message)
Constructs a new NotFoundExceptiion exception with the given message.- Parameters:
message
- the exception message
-
NotFoundException
public NotFoundException(Throwable nested)
Constructs a new NotFoundExceptiion exception with the nested exception.- Parameters:
nested
- the nested exception
-
NotFoundException
public NotFoundException(String msg, Throwable nested)
Constructs a new NotFoundExceptiion 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
-
-