com.ingenico.connect.gateway.sdk.java.ValidationException 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 validation of requests failed.
*/
@SuppressWarnings("serial")
public class ValidationException extends ApiException {
public ValidationException(int statusCode, String responseBody, String errorId, List errors) {
super("the Ingenico ePayments platform returned an incorrect request error response", statusCode, responseBody, errorId, errors);
}
public ValidationException(String message, int statusCode, String responseBody, String errorId, List errors) {
super(message, statusCode, responseBody, errorId, errors);
}
}