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:
java.io.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(java.lang.String message)
Create a new ForwardedToErrorPage exception.ForwardedToErrorPage(java.lang.String message, java.lang.Throwable cause)
Create a new ForwardedToErrorPage exception based on an old exception.
-
-
-
Constructor Detail
-
ForwardedToErrorPage
public ForwardedToErrorPage(java.lang.String message)
Create a new ForwardedToErrorPage exception.- Parameters:
message
- Explanatory message
-
ForwardedToErrorPage
public ForwardedToErrorPage(java.lang.String message, java.lang.Throwable cause)
Create a new ForwardedToErrorPage exception based on an old exception.- Parameters:
message
- Explanatory messagecause
- The exception that prompted the forwarding.
-
-