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

com.conveyal.gtfs.error.DuplicateKeyError 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 java.io.Serializable;

/** Indicates that a GTFS entity was not added to a table because another object already exists with the same primary key. */
public class DuplicateKeyError extends GTFSError implements Serializable {
    public static final long serialVersionUID = 1L;

    public DuplicateKeyError(String file, long line, String field) {
        super(file, line, field);
    }

    @Override public String getMessage() {
        return "Duplicate primary key.";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy