Class ErrorTargetEntry

  • All Implemented Interfaces:
    Serializable

    public class ErrorTargetEntry
    extends Object
    implements Serializable
    A pair of a navigation target for handling exceptions and the exception type handled by the navigation target.

    For internal use only. May be renamed or removed in a future release.

    Since:
    1.3
    See Also:
    Serialized Form
    • Constructor Detail

      • ErrorTargetEntry

        public ErrorTargetEntry​(Class<? extends Component> navigationTarget,
                                Class<? extends Exception> handledExceptionType)
        Creates a new new entry with the given navigation target type and exception type.
        Parameters:
        navigationTarget - the navigation target type, not null
        handledExceptionType - the exception type handled by the navigation target, not null
    • Method Detail

      • getNavigationTarget

        public Class<? extends Component> getNavigationTarget()
        Gets the navigation target type.
        Returns:
        the navigation target type, not null
      • getHandledExceptionType

        public Class<? extends Exception> getHandledExceptionType()
        Gets the exception type handled by the navigation target.
        Returns:
        the exception type, not null