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:
- ILocatable, Serializable
- 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,v 1.7 2004/02/19 17:37:36 hlship Exp $
- 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()