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.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorParameter<?> |
getErrorParameter()
Gets the ErrorParameter if set.
|
getLocation, getSource, getTrigger, getUItoStringpublic 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 ErrorParameter<?> getErrorParameter()
Copyright © 2018. All rights reserved.