
com.xeiam.xchange.okcoin.OkCoinException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-okcoin Show documentation
Show all versions of xchange-okcoin Show documentation
XChange implementation for OKCoin
package com.xeiam.xchange.okcoin;
import com.xeiam.xchange.exceptions.ExchangeException;
public class OkCoinException extends ExchangeException {
private static final long serialVersionUID = 20140614L;
private final int errorCode;
/**
* Constructor.
*
* @param errorCode the error code.
* @param message the exception message.
*/
public OkCoinException(int errorCode, String message) {
super(message);
this.errorCode = errorCode;
}
/**
* @return the error code.
*/
public int getErrorCode() {
return errorCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy