All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.conveyal.gtfs.error.NoAgencyInFeedError Maven / Gradle / Ivy

Go to download

A library to load and index GTFS feeds of arbitrary size using disk-backed storage

There is a newer version: 6.2.0
Show newest version
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