
com.qiniu.common.SuitsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qsuits Show documentation
Show all versions of qsuits Show documentation
qiniu-suits is a efficient tools for qiniu api implemented by java8.
package com.qiniu.common;
import java.io.IOException;
public class SuitsException extends IOException {
private int statusCode;
private String error;
public SuitsException(int statusCode, String error) {
super("code: " + statusCode + ", error: " + error);
this.statusCode = statusCode;
this.error = error;
}
public int getStatusCode() {
return statusCode;
}
public String getError() {
return error;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy