T
- type Exception type handled@FunctionalInterface public interface HasErrorParameter<T extends Exception> extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
setErrorParameter(BeforeEnterEvent event,
ErrorParameter<T> parameter)
Callback executed before rendering the exception view.
|
int setErrorParameter(BeforeEnterEvent event, ErrorParameter<T> parameter)
Note! returned int should be a valid
HttpServletResponse
code
event
- the before navigation event for this requestparameter
- error parameter containing custom exception and caught
exceptionHttpServletResponse
codeCopyright © 2023. All rights reserved.