
cl.transbank.webpay.exception.TransbankHttpApiException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transbank-sdk-java Show documentation
Show all versions of transbank-sdk-java Show documentation
Tranbank API integration SDK for Java Projects
The newest version!
package cl.transbank.webpay.exception;
/**
* This class represents an exception that is thrown when a Transbank HTTP API operation fails.
*/
public class TransbankHttpApiException extends WebpayException {
/**
* Constructs a new TransbankHttpApiException with no detail message.
*/
public TransbankHttpApiException() {}
/**
* Constructs a new TransbankHttpApiException with the specified cause.
* @param e Exception that caused the error.
*/
public TransbankHttpApiException(Exception e) {
super(e);
}
/**
* Constructs a new TransbankHttpApiException with the specified detail message.
* @param message The detail message.
*/
public TransbankHttpApiException(String message) {
super(message);
}
/**
* Constructs a new TransbankHttpApiException with the specified detail message and error code.
* @param code The error code.
* @param message The detail message.
*/
public TransbankHttpApiException(int code, String message) {
super(code, message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy