@Tag(value="div") @DefaultErrorHandler public class RouteNotFoundError extends Component implements HasErrorParameter<NotFoundException>
| Constructor and Description |
|---|
RouteNotFoundError() |
| Modifier and Type | Method and Description |
|---|---|
int |
setErrorParameter(BeforeEnterEvent event,
ErrorParameter<NotFoundException> parameter)
Callback executed before rendering the exception view.
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttachListeneraddDetachListenerpublic int setErrorParameter(BeforeEnterEvent event, ErrorParameter<NotFoundException> parameter)
HasErrorParameter
Note! returned int should be a valid
HttpServletResponse code
setErrorParameter in interface HasErrorParameter<NotFoundException>event - the before navigation event for this requestparameter - error parameter containing custom exception and caught
exceptionHttpServletResponse codeCopyright © 2025. All rights reserved.