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
ConstructorDescriptionErrorNavigationEvent
(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, elemental.json.JsonValue 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, isForwardTo
Methods 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
-