org.apache.tapestry
Class PageRedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tapestry.ApplicationRuntimeException
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
PageRedirectException
public PageRedirectException(String targetPageName)
PageRedirectException
public PageRedirectException(IPage page)
PageRedirectException
public PageRedirectException(String message,
Object component,
Throwable rootCause,
String targetPageName)
getTargetPageName
public String getTargetPageName()