com.bandwidth.iris.sdk.IrisClientException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bandwidth-java-iris-sdk Show documentation
Show all versions of bandwidth-java-iris-sdk Show documentation
Java SDK for use with the IRIS API.
package com.bandwidth.iris.sdk;
public class IrisClientException extends Exception {
private String errorCode;
private String description;
private int statusCode;
public IrisClientException(Throwable e) {
super(e);
}
public IrisClientException(int statusCode, String errorCode, String description) {
super(description);
this.errorCode = errorCode;
this.description = description;
this.statusCode = statusCode;
}
public String getErrorCode() {
return errorCode;
}
public String getDescription() {
return description;
}
public int getStatusCode() { return statusCode; }
}