com.conveyal.gtfs.error.DuplicateKeyError 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 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 - 2025 Weber Informatics LLC | Privacy Policy