com.easilydo.sift.api.ApiException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sift-sdk Show documentation
Show all versions of sift-sdk Show documentation
Java SDK for use of the Sift Email Parse APIs
The newest version!
package com.easilydo.sift.api;
public class ApiException extends RuntimeException {
private int code = 0;
private String requestId;
public ApiException(String message, int code) {
super(message);
this.code = code;
}
public ApiException(String message, int code, String requestId) {
super(message);
this.code = code;
this.requestId = requestId;
}
public ApiException(String message, Throwable cause) {
super(message, cause);
}
public int getCode() {
return code;
}
public String getRequestId() {
return requestId;
}
}