Class RouteErrorRange


  • public final class RouteErrorRange
    extends Object
    Range of route errors.
    • Constructor Detail

      • RouteErrorRange

        public RouteErrorRange()
    • Method Detail

      • start

        public RouteErrorPosition start()
        Get the start property: Start where the route error happened.
        Returns:
        the start value.
      • withStart

        public RouteErrorRange withStart​(RouteErrorPosition start)
        Set the start property: Start where the route error happened.
        Parameters:
        start - the start value to set.
        Returns:
        the RouteErrorRange object itself.
      • end

        public RouteErrorPosition end()
        Get the end property: End where the route error happened.
        Returns:
        the end value.
      • withEnd

        public RouteErrorRange withEnd​(RouteErrorPosition end)
        Set the end property: End where the route error happened.
        Parameters:
        end - the end value to set.
        Returns:
        the RouteErrorRange object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.