Class InvalidBusPrimitiveException

  • All Implemented Interfaces:
    Serializable

    public class InvalidBusPrimitiveException
    extends IllegalStateException
    A bus itinerary is not valid.

    An itinerary could be invalid if one of the following critera is not true:

    1. an itinerary must contains one road segment,
    2. all the road segment are connected in a sequence,
    3. the count of bus stops must be at least 2,
    4. the first stop must be a starting bus stop,
    5. the last stop must be of terminus,
    6. the other bus stops must not be of type starting bus stop nor terminus,
    7. each bus stop must be located on a road segment of the itinerary,
    8. the bus stops must be ordered, no cycle nor go-back is allowed.
    Since:
    14.0
    Version:
    17.0 2020-01-04 14:41:56
    Author:
    Stéphane GALLAND
    See Also:
    Serialized Form
    Maven Group Id:
    org.arakhne.afc.gis
    Maven Artifact Id:
    gisbus
    • Constructor Detail

      • InvalidBusPrimitiveException

        public InvalidBusPrimitiveException()
        Constructor.