![JAR search and dependency download from the Maven repository](/logo.png)
com.tinypass.client.common.ApiException Maven / Gradle / Ivy
package com.tinypass.client.common;
import java.util.ArrayList;
import java.util.List;
public class ApiException extends Exception {
private final int code;
private List parameterExceptions = new ArrayList();
public ApiException(int code, String message) {
super(message);
this.code = code;
}
public ApiException(int code, String message, Throwable e) {
super(message, e);
this.code = code;
}
public int getCode() {
return code;
}
public List getParameterExceptions() {
return parameterExceptions;
}
public void addException(ApiParameterException exception){
parameterExceptions.add(exception);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy