public class RedirectException extends org.apache.hivemind.ApplicationRuntimeException
| Constructor and Description |
|---|
RedirectException(java.lang.String redirectLocation) |
RedirectException(java.lang.String message,
java.lang.String redirectLocation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRedirectLocation() |
getCause, getComponent, getLocation, getRootCause, toStringpublic RedirectException(java.lang.String redirectLocation)
public RedirectException(java.lang.String message, java.lang.String redirectLocation)
message - A message describing why the redirection is taking place.redirectLocation - The location to redirect to, may be a relative path (relative
to the ServletContext).HttpServletResponse.sendRedirect(String),
HttpServletResponse.encodeRedirectURL(String)public java.lang.String getRedirectLocation()