@NoTheme public class UnauthorizedNavigationError extends com.vaadin.flow.component.html.Div implements com.vaadin.flow.router.HasErrorParameter<UnauthorizedNavigationException>
UnauthorizedNavigationError error.
This error handler will show a localizable header message composed by the
Navigator.DEFAULT_NAVIGATION_FAILED_MESSAGE followed by the failed navigation path, using the
Navigator.DEFAULT_NAVIGATION_FAILED_MESSAGE_CODE as localization message code.
The header is followed by the localizable message UnauthorizedNavigationException.DEFAULT_MESSAGE, using the
UnauthorizedNavigationException.DEFAULT_MESSAGE_CODE as localization message code.
| Constructor and Description |
|---|
UnauthorizedNavigationError() |
| Modifier and Type | Method and Description |
|---|---|
int |
setErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event,
com.vaadin.flow.router.ErrorParameter<UnauthorizedNavigationException> parameter) |
from, getChildren, getElement, getId, getParent, getTranslation, getTranslation, getUI, isVisible, onEnabledStateChanged, setId, setVisibleequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClickListener, addClickShortcutadd, add, addComponentAsFirst, addComponentAtIndex, remove, removeAllgetHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFullpublic int setErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event,
com.vaadin.flow.router.ErrorParameter<UnauthorizedNavigationException> parameter)
setErrorParameter in interface com.vaadin.flow.router.HasErrorParameter<UnauthorizedNavigationException>Copyright © 2019 The Holon Platform. All rights reserved.