dk.netarkivet.common.exceptions
Class ForwardedToErrorPage

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by dk.netarkivet.common.exceptions.NetarkivetException
                  extended by 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
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
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 message
cause - The exception that prompted the forwarding.