wheel
Class RedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
wheel.RedirectException
- All Implemented Interfaces:
- java.io.Serializable
public class RedirectException
- extends java.lang.RuntimeException
Throwing this exception from anywhere in a component, causes the request processing to stop, and restart using the page set
in the exception. Or the exception can carry a full url to which a redirect will be sent.
- Author:
- Henri Frilund
- See Also:
- Serialized Form
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 |
RedirectException
public RedirectException(StandaloneComponent redirectTo)
RedirectException
public RedirectException(java.lang.String redirectUrl)
getPage
public StandaloneComponent getPage()
getUrl
public java.lang.String getUrl()
Copyright © 2007-2008. All Rights Reserved.