|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.barracudamvc.plankton.exceptions.NestableException
org.barracudamvc.core.event.EventException
org.barracudamvc.core.event.ClientSideRedirectException
public class ClientSideRedirectException
This class defines a ClientSideRedirectException...throwing this will cause the ApplicationGateway to redirect the browser to the new Event.
Constructor Summary | |
---|---|
ClientSideRedirectException(BaseEvent newEvent)
The public contructor for ClientSideRedirectException |
|
ClientSideRedirectException(String iurl)
The public contructor for ClientSideRedirectException |
Method Summary | |
---|---|
String |
getRedirectURL()
Get the new event that triggered this interrupt |
void |
setRedirectURL(String iurl)
Set the Redirect URL (normally you don't need to do this since you simply pass the target URL into the constructor. |
String |
toString()
|
Methods inherited from class org.barracudamvc.plankton.exceptions.NestableException |
---|
getBaseException, getRootException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, 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 |
---|
public ClientSideRedirectException(BaseEvent newEvent)
newEvent
- - the newEvent the client browser
should be redirected topublic ClientSideRedirectException(String iurl)
iurl
- - the URL the client browser should be
redirected toMethod Detail |
---|
public String getRedirectURL()
public void setRedirectURL(String iurl)
public String toString()
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |