java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.request.RequestHandlerExecutor.ReplaceHandlerException
org.apache.wicket.NonResettingRestartException
- All Implemented Interfaces:
Serializable
Causes Wicket to interrupt current request processing and immediately respond with the specified
page. Does not reset the header meta data (e.g. cookies).
- See Also:
-
Constructor Summary
ConstructorDescriptionNonResettingRestartException
(Class<? extends Page> pageClass) Constructor.NonResettingRestartException
(Class<? extends Page> pageClass, PageParameters params) Constructor.NonResettingRestartException
(Class<? extends Page> pageClass, PageParameters params, RenderPageRequestHandler.RedirectPolicy redirectPolicy) Constructor.NonResettingRestartException
(String redirectUrl) Constructor.NonResettingRestartException
(IRequestHandler handler, boolean removeAll) Constructor. -
Method Summary
Methods inherited from class org.apache.wicket.request.RequestHandlerExecutor.ReplaceHandlerException
fillInStackTrace, getRemoveScheduled, getReplacementRequestHandler
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonResettingRestartException
Constructor.- Parameters:
pageClass
- the class of the new page that should be rendered
-
NonResettingRestartException
Constructor.- Parameters:
pageClass
- the class of the new page that should be renderedparams
- the page parameters to use for the new page
-
NonResettingRestartException
public NonResettingRestartException(Class<? extends Page> pageClass, PageParameters params, RenderPageRequestHandler.RedirectPolicy redirectPolicy) Constructor.- Parameters:
pageClass
- the class of the new page that should be renderedparams
- the page parameters to use for the new pageredirectPolicy
- the policy that mandates whether to do a redirect
-
NonResettingRestartException
Constructor.- Parameters:
redirectUrl
- URL to redirect to.
-
NonResettingRestartException
Constructor.- Parameters:
handler
- the IRequestHandler to useremoveAll
- a flag indicating whether to remove already a scheduled IRequestHandlers
-