org.onebusaway.gtfs.serialization.mappings
Class RouteNameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.onebusaway.gtfs.csv.exceptions.CsvEntityException
                  extended by org.onebusaway.gtfs.serialization.mappings.RouteNameException
All Implemented Interfaces:
java.io.Serializable

public class RouteNameException
extends CsvEntityException

The GTFS spec declares that at least one of Route.getShortName() or Route.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
RouteNameException(AgencyAndId routeId)
           
 
Method Summary
 
Methods inherited from class org.onebusaway.gtfs.csv.exceptions.CsvEntityException
getEntityType
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteNameException

public RouteNameException(AgencyAndId routeId)


Copyright © 2010 OneBusAway. All Rights Reserved.