public static class RouteRegistry.ErrorTargetEntry extends Object implements Serializable
Constructor and Description |
---|
ErrorTargetEntry(Class<? extends Component> navigationTarget,
Class<? extends Exception> handledExceptionType)
Creates a new new entry with the given navigation target type and
exception type.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Exception> |
getHandledExceptionType()
Gets the exception type handled by the navigation target.
|
Class<? extends Component> |
getNavigationTarget()
Gets the navigation target type.
|
public ErrorTargetEntry(Class<? extends Component> navigationTarget, Class<? extends Exception> handledExceptionType)
navigationTarget
- the navigation target type, not null
handledExceptionType
- the exception type handled by the navigation target, not
null
Copyright © 2018. All rights reserved.