Class RouteNameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.onebusaway.csv_entities.exceptions.CsvException
-
- org.onebusaway.csv_entities.exceptions.CsvEntityException
-
- org.onebusaway.gtfs.serialization.mappings.RouteNameException
-
- All Implemented Interfaces:
Serializable
public class RouteNameException extends org.onebusaway.csv_entities.exceptions.CsvEntityExceptionThe GTFS spec declares that at least one ofRoute.getShortName()orRoute.getLongName()must be specified, if not both. If neither is set for a route in a feed, this exception is thrown.- Author:
- bdferris
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteNameException(AgencyAndId routeId)
-
Method Summary
-
Methods inherited from class org.onebusaway.csv_entities.exceptions.CsvEntityException
getEntityType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RouteNameException
public RouteNameException(AgencyAndId routeId)
-
-