|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.onebusaway.csv_entities.exceptions.CsvEntityException
org.onebusaway.gtfs.serialization.NoDefaultAgencyIdException
public class NoDefaultAgencyIdException
Indicates that no default agency id (see
GtfsReaderContext.getDefaultAgencyId() was specified for a particular
feed. Recall that GtfsReader will attempt to fill in the
AgencyAndId.setAgencyId(String) agencyId value for all entities
loaded by the reader so as to make entity ids unique across feeds. For
entities such as Route and Trip, the agency id will be
resolved automatically to any referenced Agency in the Route.
However, for all other entities, we need some agency id. By default, the
Agency.getId() of the first Agency loaded by the reader will
be used. However, you may also specify a default agency with a call to
GtfsReader.setDefaultAgencyId(String).
GtfsReaderContext.getDefaultAgencyId(),
GtfsReader.setDefaultAgencyId(String),
Serialized Form| Constructor Summary | |
|---|---|
NoDefaultAgencyIdException()
|
|
| Method Summary |
|---|
| Methods inherited from class org.onebusaway.csv_entities.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 |
|---|
public NoDefaultAgencyIdException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||