All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dahuatech.icc.exception.ServerException Maven / Gradle / Ivy

There is a newer version: 1.0.13.10
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy