org.apache.tapestry
Class PageRedirectException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.apache.hivemind.ApplicationRuntimeException
                          |
                          +--org.apache.tapestry.PageRedirectException
All Implemented Interfaces:
org.apache.hivemind.Locatable, java.io.Serializable

public class PageRedirectException
extends org.apache.hivemind.ApplicationRuntimeException

Exception thrown by a component or IEngineService that wishes to force the application to a particular page. This is often used to protect a sensitive page until the user is authenticated.

Author:
Howard Lewis Ship
See Also:
Serialized Form

Constructor Summary
PageRedirectException(IPage page)
           
PageRedirectException(java.lang.String targetPageName)
           
PageRedirectException(java.lang.String message, java.lang.Object component, java.lang.Throwable rootCause, java.lang.String targetPageName)
           
 
Method Summary
 java.lang.String getTargetPageName()
           
 
Methods inherited from class org.apache.hivemind.ApplicationRuntimeException
getCause, getComponent, getLocation, getRootCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageRedirectException

public PageRedirectException(java.lang.String targetPageName)

PageRedirectException

public PageRedirectException(IPage page)

PageRedirectException

public PageRedirectException(java.lang.String message,
                             java.lang.Object component,
                             java.lang.Throwable rootCause,
                             java.lang.String targetPageName)
Method Detail

getTargetPageName

public java.lang.String getTargetPageName()