Examples of AtcoCifException


Examples of org.onebusaway.uk.atco_cif.AtcoCifException

    } else if (desc.equals("heavy rail")) {
      return 2;
    } else if (_vehicleType != -1) {
      return _vehicleType;
    } else {
      throw new AtcoCifException(
          "no defautl VehicleType specified and could not determine GTFS route vehicle type from ATCO-CIF vehicle type description: "
              + desc);
    }
  }
View Full Code Here

Examples of org.onebusaway.uk.atco_cif.AtcoCifException

    }
    GreaterManchesterTimetableRowListElement rowList = _greaterManchesterRowListsByLocationId.get(stopId);
    if (rowList != null) {
      return getGreaterManchesterRowListStop(rowList);
    }
    throw new AtcoCifException("no stop found with id " + stopId);
  }
View Full Code Here

Examples of org.onebusaway.uk.atco_cif.AtcoCifException

    AgencyAndId id = id(locationId);
    Stop stop = _dao.getStopForId(id);
    if (stop == null) {
      LocationProvider locationSource = _additionalLocationById.get(locationId);
      if (locationSource == null) {
        throw new AtcoCifException("found location with id=" + locationId
            + " but no additional location information found");
      }

      LocationProvider nxLocationSource = _nxLocationGeoDetailById.get(locationId);
      if (nxLocationSource != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.