org.apache.tapestry
Class PageRedirectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.tapestry.ApplicationRuntimeException
                  extended by org.apache.tapestry.PageRedirectException
All Implemented Interfaces:
Serializable, ILocatable

public class PageRedirectException
extends 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.

Version:
$Id: PageRedirectException.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship
See Also:
Serialized Form

Constructor Summary
PageRedirectException(IPage page)
           
PageRedirectException(String targetPageName)
           
PageRedirectException(String message, Object component, Throwable rootCause, String targetPageName)
           
 
Method Summary
 String getTargetPageName()
           
 
Methods inherited from class org.apache.tapestry.ApplicationRuntimeException
getCause, getComponent, getLocation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

PageRedirectException

public PageRedirectException(String targetPageName)

PageRedirectException

public PageRedirectException(IPage page)

PageRedirectException

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

getTargetPageName

public String getTargetPageName()