Package de.xima.fc.exceptions.http
Class RedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.xima.fc.exceptions.http.RedirectException
- All Implemented Interfaces:
IRedirectAction,Serializable
An exception that also indicates a
redirection action.- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RedirectException.BuildernewBuilder(IUrlResource target) static RedirectException.BuildernewBuilder(String target) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
newBuilder
-
newBuilder
-
getTarget
- Specified by:
getTargetin interfaceIRedirectAction- Returns:
- a URL resource of where to redirect to.
-
getViewMessage
- Specified by:
getViewMessagein interfaceIRedirectAction- Returns:
- an optional view message that is to be displayed upon redirection.
-