com.ingenico.connect.gateway.sdk.java.GlobalCollectException Maven / Gradle / Ivy
package com.ingenico.connect.gateway.sdk.java;
import java.util.List;
import com.ingenico.connect.gateway.sdk.java.domain.errors.definitions.APIError;
/**
* Represents an error response from the Ingenico ePayments platform when something went wrong at the Ingenico ePayments platform or further downstream.
*/
@SuppressWarnings("serial")
public class GlobalCollectException extends ApiException {
public GlobalCollectException(int statusCode, String responseBody, String errorId, List errors) {
super("the Ingenico ePayments platform returned an error response", statusCode, responseBody, errorId, errors);
}
public GlobalCollectException(String message, int statusCode, String responseBody, String errorId, List errors) {
super(message, statusCode, responseBody, errorId, errors);
}
}