Package helma.framework
Class RedirectException
java.lang.Object
java.lang.Throwable
java.lang.Error
helma.framework.RedirectException
- All Implemented Interfaces:
Serializable
RedirectException is thrown internally when a response is redirected to a
new URL. Although this is not an Error, it subclasses java.lang.Error
because it's not meant to be caught by application code (similar to
java.lang.ThreadDeath).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RedirectException
Creates a new RedirectException object.- Parameters:
url
- the URL
-
-
Method Details
-
getUrl
Return the URL to redirect to.- Returns:
- the URL
-