@DefaultErrorHandler @PermitAll @PermitAll public class ErrorView extends com.vaadin.flow.component.orderedlayout.VerticalLayout implements com.vaadin.flow.router.HasErrorParameter<Exception>
| Constructor and Description |
|---|
ErrorView() |
| Modifier and Type | Method and Description |
|---|---|
int |
setErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event,
com.vaadin.flow.router.ErrorParameter<Exception> parameter)
This method sets the error parameter to display the error message and returns an HTTP status
code of 500 Internal Server Error.
|
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacingaddListener, 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, waitgetBoxSizing, getThemeList, isMargin, isPadding, isSpacing, setBoxSizing, setMarginexpand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentModegetChildren, getComponentAt, getComponentCount, indexOfadd, add, addComponentAsFirst, addComponentAtIndex, remove, removeAlladdClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNamegetCssSize, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullpublic int setErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event,
com.vaadin.flow.router.ErrorParameter<Exception> parameter)
setErrorParameter in interface com.vaadin.flow.router.HasErrorParameter<Exception>event - a BeforeEnterEvent objectparameter - an ErrorParameter object containing the caught exceptionCopyright © 2017–2023 Flowing Code. All rights reserved.