We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
public class ErrorNavigationEvent extends NavigationEvent
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
Constructors Constructor and Description ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter)
Creates a new navigation event.
-
Method Summary
All Methods Modifier and Type Method and Description ErrorParameter<?>
getErrorParameter()
Gets the ErrorParameter if set.
-
Methods inherited from class com.vaadin.flow.router.NavigationEvent
getLocation, getSource, getTrigger, getUI
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ErrorNavigationEvent
public ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter)
Creates a new navigation event.
Parameters:
router
- the router handling the navigation, notnull
location
- the new location, notnull
ui
- the UI in which the navigation occurs, notnull
trigger
- the type of user action that triggered this navigation event, notnull
errorParameter
- parameter containing navigation error information
-
-
Method Detail
-
getErrorParameter
public ErrorParameter<?> getErrorParameter()
Gets the ErrorParameter if set.
Returns:
set error parameter or null if not set
-
-