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

jp.webpay.exception.APIException Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
package jp.webpay.exception;

import lombok.Getter;
import lombok.NonNull;

import java.util.Map;

public class APIException extends WebPayException {
    @Getter
    private final String type;

    APIException(int status, @NonNull Map errorInfo) {
        super(errorInfo.get("message"), status, errorInfo);
        this.type = errorInfo.get("type");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy