com.conveyal.gtfs.storage.StorageException 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.storage;
import com.conveyal.gtfs.error.NewGTFSError;
import com.conveyal.gtfs.error.NewGTFSErrorType;
/**
* Created by abyrd on 2017-03-25
*/
public class StorageException extends RuntimeException {
public NewGTFSErrorType errorType = NewGTFSErrorType.OTHER;
public String badValue = null;
public StorageException(NewGTFSErrorType errorType, String badValue) {
super(errorType.englishMessage);
this.errorType = errorType;
this.badValue = badValue;
}
public StorageException(Exception ex) {
super(ex);
}
public StorageException (String message) {
super(message);
}
public StorageException(String message, Exception ex) {
super(message, ex);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy