Package com.vaadin.flow.router
Class ErrorNavigationEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.router.NavigationEvent
com.vaadin.flow.router.ErrorNavigationEvent
- All Implemented Interfaces:
Serializable
Event object with data related to error navigation.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter) Creates a new navigation event.ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter, tools.jackson.databind.node.BaseJsonNode state) Creates a new navigation event. -
Method Summary
Modifier and TypeMethodDescriptionGets the ErrorParameter if set.Methods inherited from class com.vaadin.flow.router.NavigationEvent
getLocation, getSource, getState, getTrigger, getUI, isForceInstantiation, isForwardTo, isRecreateLayoutChainMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
Method Details
-
getErrorParameter
Gets the ErrorParameter if set.- Returns:
- set error parameter or null if not set
-