com.dahuatech.icc.exception.ServerException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-common Show documentation
Show all versions of java-sdk-common Show documentation
Dahua ICC Open API SDK for Java
package com.dahuatech.icc.exception;
/**
* @author 232676
* @since 1.0.0 2020-10-24 20:59:11
*/
public class ServerException extends ClientException {
public ServerException(String errorCode, String errorMessage) {
super(errorCode, errorMessage);
this.setErrorType(ErrorType.Server);
}
public ServerException(String errCode, String errMsg, String requestId) {
this(errCode, errMsg);
this.setRequestId(requestId);
}
public ServerException(String message) {
super(message);
this.setErrorType(ErrorType.Server);
}
}