Class 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 Detail

      • ForwardedToErrorPage

        public ForwardedToErrorPage​(String message)
        Create a new ForwardedToErrorPage exception.
        Parameters:
        message - Explanatory message
      • ForwardedToErrorPage

        public ForwardedToErrorPage​(String message,
                                    Throwable cause)
        Create a new ForwardedToErrorPage exception based on an old exception.
        Parameters:
        message - Explanatory message
        cause - The exception that prompted the forwarding.