public class ErrorNavigationEvent extends NavigationEvent
source| Constructor and Description |
|---|
ErrorNavigationEvent(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.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorParameter<?> |
getErrorParameter()
Gets the ErrorParameter if set.
|
getLocation, getSource, getState, getTrigger, getUI, isForwardTotoStringpublic ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter)
router - the router handling the navigation, not nulllocation - the new location, not nullui - the UI in which the navigation occurs, not nulltrigger - the type of user action that triggered this navigation event,
not nullerrorParameter - parameter containing navigation error informationpublic ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter, elemental.json.JsonValue state)
router - the router handling the navigation, not nulllocation - the new location, not nullui - the UI in which the navigation occurs, not nulltrigger - the type of user action that triggered this navigation event,
not nullerrorParameter - parameter containing navigation error informationstate - includes navigation state info including for example the
scroll position and the complete href of the RouterLinkpublic ErrorParameter<?> getErrorParameter()
Copyright © 2025. All rights reserved.