Module org.apache.wicket.request
Package org.apache.wicket.request
Class RequestHandlerExecutor.ReplaceHandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.request.RequestHandlerExecutor.ReplaceHandlerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NonResettingRestartException
,RedirectToUrlException
,ResetResponseException
- Enclosing class:
- RequestHandlerExecutor
Exception to stop current request handler and execute a new one.
- Author:
- Matej Knopp
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceHandlerException
(IRequestHandler replacementRequestHandler, boolean removeScheduled) Construct. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Should a scheduled handler be removed before replacing the handlerMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReplaceHandlerException
Construct.- Parameters:
replacementRequestHandler
-removeScheduled
- should a possibly scheduled handler be removed
-
-
Method Details
-
getRemoveScheduled
Should a scheduled handler be removed before replacing the handler -
getReplacementRequestHandler
- Returns:
- the RequestHandler that should be used to continue handling the request
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
- See Also:
-