cl.transbank.exception.TransbankException 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
package cl.transbank.exception;
import lombok.Getter;
public class TransbankException extends Exception {
@Getter private int code;
public TransbankException() {
super();
}
public TransbankException(String message) {
super(message);
this.code = -1;
}
public TransbankException(int code, String message) {
super(message);
this.code = code;
}
public TransbankException(int code, String message, Throwable cause) {
super(message, cause);
this.code = code;
}
public TransbankException(Throwable cause) {
super(cause);
}
public TransbankException(int code, Throwable cause) {
super(cause);
this.code = code;
}
public TransbankException(int code, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
this.code = code;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy