Package org.spincast.core.exceptions
Class ForwardRouteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spincast.core.exceptions.ResponseResetableExceptionDefault
org.spincast.core.exceptions.ForwardRouteException
- All Implemented Interfaces:
Serializable
,ResponseResetableException
Exception that will forward the request to another route.
- See Also:
-
Constructor Summary
ConstructorDescriptionForwardRouteException
(String newRoute) ForwardRouteException
(String newRoute, boolean resetResponse) ForwardRouteException
(String newRoute, String message) ForwardRouteException
(String newRoute, String message, boolean resetResponse) -
Method Summary
Methods inherited from class org.spincast.core.exceptions.ResponseResetableExceptionDefault
isResetResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ForwardRouteException
- Parameters:
newRoute
- The new route to forward to. This can be a full URL or a path (+ potential queryString)
-
ForwardRouteException
- Parameters:
newRoute
- The new route to forward to. This can be a full URL or a path (+ potential queryString)resetResponse
- If not already flushed, should the response be reset before running the new route?
-
ForwardRouteException
- Parameters:
newRoute
- The new route to forward to. This can be a full URL or a path (+ potential queryString)
-
ForwardRouteException
- Parameters:
newRoute
- The new route to forward to. This can be a full URL or a path (+ potential queryString)resetResponse
- If not already flushed, should the response be reset before running the new route?
-
-
Method Details
-
getNewRoute
The new route to forward to. This can be a full URL or a path (+ potential queryString)
-