com.conveyal.gtfs.error.NoAgencyInFeedError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gtfs-lib Show documentation
Show all versions of gtfs-lib Show documentation
A library to load and index GTFS feeds of arbitrary size using disk-backed storage
package com.conveyal.gtfs.error;
import com.conveyal.gtfs.validator.model.Priority;
/**
* Created by landon on 5/2/17.
*/
public class NoAgencyInFeedError extends GTFSError {
public final Priority priority = Priority.HIGH;
public NoAgencyInFeedError() {
super("agency", 0, "agency_id");
}
@Override public String getMessage() {
return String.format("No agency listed in feed (must have at least one).");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy