
common.exception.HttpRequestException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ksyun-sdk-java-common Show documentation
Show all versions of ksyun-sdk-java-common Show documentation
The KSYUN Web Services SDK for Java provides Java APIs
for building software on KSYUN' cost-effective, scalable, and reliable
infrastructure products. The KSYUN Java SDK allows developers to code
against APIs for all of KSYUN's infrastructure web services (KSC
S3, KSC KEC, KSC RDS etc).
The newest version!
package common.exception;
/**
* @Classname HttpRequestException
* @Description http 请求异常
*/
public class HttpRequestException extends RuntimeException{
private String errorCode;
private String errorMsg;
public HttpRequestException(String errorCode, String errorMsg) {
super(errorMsg);
this.errorCode = errorCode;
this.errorMsg = errorMsg;
}
public String getErrorCode() {
return errorCode;
}
public String getErrorMsg() {
return errorMsg;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy