public class NonResettingRestartException extends RequestHandlerStack.ReplaceHandlerException
RestartResponseException
,
Serialized FormConstructor and Description |
---|
NonResettingRestartException(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(IRequestHandler handler,
boolean removeAll)
Constructor.
|
NonResettingRestartException(String redirectUrl)
Constructor.
|
fillInStackTrace, getReplacementRequestHandler
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NonResettingRestartException(Class<? extends Page> pageClass)
pageClass
- the class of the new page that should be renderedpublic NonResettingRestartException(Class<? extends Page> pageClass, PageParameters params)
pageClass
- the class of the new page that should be renderedparams
- the page parameters to use for the new pagepublic NonResettingRestartException(Class<? extends Page> pageClass, PageParameters params, RenderPageRequestHandler.RedirectPolicy redirectPolicy)
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 redirectpublic NonResettingRestartException(String redirectUrl)
redirectUrl
- URL to redirect to.public NonResettingRestartException(IRequestHandler handler, boolean removeAll)
handler
- the IRequestHandler to useremoveAll
- a flag indicating whether to ignore all already scheduled IRequestHandlers before throwing
this exceptionCopyright © 2006–2016 Apache Software Foundation. All rights reserved.