package com.binance.connector.client.exceptions;

/* loaded from: binance-connector-java-3.0.0rc3.jar:com/binance/connector/client/exceptions/BinanceServerException.class */
public class BinanceServerException extends RuntimeException {
    private static final long serialVersionUID = 1;
    private static final int invalidStatusCode = -1;
    private final int httpStatusCode;

    public BinanceServerException(String fullErrMsg) {
        super(fullErrMsg);
        this.httpStatusCode = invalidStatusCode;
    }

    public BinanceServerException(String fullErrMsg, int httpStatusCode) {
        super(fullErrMsg);
        this.httpStatusCode = httpStatusCode;
    }

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