public class AgencyNotFoundForRouteException
extends org.onebusaway.csv_entities.exceptions.CsvEntityException
Agency instance to set in a call to Route.setAgency(Agency).
When parsing a route from csv, we look at the "agency_id" field first. If it
isn't empty, we look for an agency with the specified id. This exception is
throw if an agency with the specified id could not be found.
If no "agency_id" field is specified in the csv, we next use the id specified
by GtfsReaderContext.getDefaultAgencyId(). If no default agencyId is
specified, or an agency with the specified id cannot be found, we throw this
exception.| Constructor and Description |
|---|
AgencyNotFoundForRouteException(Class<?> entityType,
Route route) |
AgencyNotFoundForRouteException(Class<?> entityType,
Route route,
String agencyId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAgencyId() |
Route |
getRoute() |
getEntityTypeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2013 OneBusAway. All Rights Reserved.