Package dk.netarkivet.common.exceptions
Class ForwardedToErrorPage
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dk.netarkivet.common.exceptions.NetarkivetException
-
- dk.netarkivet.common.exceptions.ForwardedToErrorPage
-
- All Implemented Interfaces:
Serializable
public class ForwardedToErrorPage extends NetarkivetException
This exception indicates that we have forwarded to a JSP error page and thus should stop all processing and just return at the top level JSP.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForwardedToErrorPage(String message)
Create a new ForwardedToErrorPage exception.ForwardedToErrorPage(String message, Throwable cause)
Create a new ForwardedToErrorPage exception based on an old 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
-
ForwardedToErrorPage
public ForwardedToErrorPage(String message)
Create a new ForwardedToErrorPage exception.- Parameters:
message
- Explanatory message
-
-