package com.binance.connector.client.exceptions;

/* loaded from: binance-connector-java-3.0.0rc3.jar:com/binance/connector/client/exceptions/BinanceClientException.class */
public class BinanceClientException extends RuntimeException {
    private static final long serialVersionUID = 1;
    private final int ERROR_CODE_0 = 0;
    private final int httpStatusCode;
    private final int errorCode;
    private String errMsg;

    public BinanceClientException(String fullErrMsg, int httpStatusCode) {
        super(fullErrMsg);
        this.httpStatusCode = httpStatusCode;
        this.errorCode = 0;
    }

    public BinanceClientException(String fullErrMsg, String errMsg, int httpStatusCode, int errorCode) {
        super(fullErrMsg);
        this.httpStatusCode = httpStatusCode;
        this.errorCode = errorCode;
        this.errMsg = errMsg;
    }

    public int getErrorCode() {
        return this.errorCode;
    }

    public int getHttpStatusCode() {
        return this.httpStatusCode;
    }

    public String getErrMsg() {
        return this.errMsg;
    }
}
