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

com.xeiam.xchange.okcoin.OkCoinException Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
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