Module org.arakhne.afc.gis.gisbus
Package org.arakhne.afc.gis.bus.network
Class InvalidBusPrimitiveException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- org.arakhne.afc.gis.bus.network.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:
- an itinerary must contains one road segment,
- all the road segment are connected in a sequence,
- the count of bus stops must be at least 2,
- the first stop must be a starting bus stop,
- the last stop must be of terminus,
- the other bus stops must not be of type starting bus stop nor terminus,
- each bus stop must be located on a road segment of the itinerary,
- 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 Summary
Constructors Constructor Description InvalidBusPrimitiveException()
Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-