![JAR search and dependency download from the Maven repository](/logo.png)
com.binance.connector.client.exceptions.BinanceServerException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance-connector-java Show documentation
Show all versions of binance-connector-java Show documentation
lightweight connector to API
package com.binance.connector.client.exceptions;
public class BinanceServerException extends RuntimeException{
private static final long serialVersionUID = 1L;
private final int httpStatusCode;
public BinanceServerException(String fullErrMsg) {
super(fullErrMsg);
this.httpStatusCode = -1;
}
public BinanceServerException(String fullErrMsg, int httpStatusCode) {
super(fullErrMsg);
this.httpStatusCode = httpStatusCode;
}
public int getHttpStatusCode() {
return httpStatusCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy