Package io.jmix.flowui.component.error
Class JmixInternalServerError
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.router.InternalServerError
io.jmix.flowui.component.error.JmixInternalServerError
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.HasErrorParameter<Exception>,Serializable
public class JmixInternalServerError
extends com.vaadin.flow.router.InternalServerError
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<com.vaadin.flow.router.RouteData>findRouteData(Class<?> target, List<com.vaadin.flow.router.RouteData> routes) protected voidforwardToPreviousView(com.vaadin.flow.router.BeforeEnterEvent event) protected voidhandleException(JmixInternalServerError.ErrorContext errorContext) protected voidnavigateToParentLayout(Class<?> viewClass, com.vaadin.flow.router.BeforeEnterEvent event) intsetErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event, com.vaadin.flow.router.ErrorParameter<Exception> parameter) Methods inherited from class com.vaadin.flow.router.InternalServerError
hasLogBindingMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
uiExceptionHandlers
-
-
Constructor Details
-
JmixInternalServerError
-
-
Method Details
-
setErrorParameter
public int setErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event, com.vaadin.flow.router.ErrorParameter<Exception> parameter) - Specified by:
setErrorParameterin interfacecom.vaadin.flow.router.HasErrorParameter<Exception>- Overrides:
setErrorParameterin classcom.vaadin.flow.router.InternalServerError
-
forwardToPreviousView
protected void forwardToPreviousView(com.vaadin.flow.router.BeforeEnterEvent event) -
findRouteData
-
handleException
-