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

com.conveyal.gtfs.storage.StorageException 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.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