Package org.onebusaway.exceptions

Examples of org.onebusaway.exceptions.NoSuchTripServiceException


    AgencyAndId tripId = AgencyAndIdLibrary.convertFromString(transitLeg.getTrip().getId());
    TripEntry trip = _transitGraphDao.getTripEntryForId(tripId);

    if (trip == null)
      throw new NoSuchTripServiceException(transitLeg.getTrip().getId());

    long serviceDate = transitLeg.getServiceDate();

    AgencyAndId vehicleId = null;
    if (transitLeg.getVehicleId() != null)
View Full Code Here


    StopEntry stop = _transitGraphDao.getStopEntryForId(stopId, true);

    AgencyAndId tripId = AgencyAndIdLibrary.convertFromString(query.getTripId());
    TripEntry trip = _transitGraphDao.getTripEntryForId(tripId);
    if (trip == null)
      throw new NoSuchTripServiceException(query.getTripId());

    adQuery.setStop(stop);
    adQuery.setStopSequence(query.getStopSequence());
    adQuery.setTrip(trip);
    adQuery.setServiceDate(query.getServiceDate());
View Full Code Here

    query.setTime(_time.getTime());

    _tripDetails = _service.getSingleTripDetails(query);

    if (_tripDetails == null)
      throw new NoSuchTripServiceException(_id);

    TripStopTimesBean stopTimes = _tripDetails.getSchedule();
    _timeZone = TimeZone.getTimeZone(stopTimes.getTimeZone());

    _actualServiceDate = getActualServiceDate();
View Full Code Here

TOP

Related Classes of org.onebusaway.exceptions.NoSuchTripServiceException

Copyright © 2018 www.massapicom. 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.