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

io.blockfrost.sdk.api.exception.APIException Maven / Gradle / Ivy

package io.blockfrost.sdk.api.exception;

public class APIException extends Exception {
    private int errorCode;

    public APIException(String message) {
        super(message);
    }

    public APIException(String message, int errorCode) {
        super(message);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return this.errorCode;
    }

    public APIException(String message, Exception exp) {
        super(message, exp);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy