Class BinanceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
si.mazi.rescu.HttpStatusExceptionSupport
org.knowm.xchange.binance.dto.BinanceException
All Implemented Interfaces:
Serializable, si.mazi.rescu.HttpResponseAware, si.mazi.rescu.HttpStatusException

public class BinanceException extends si.mazi.rescu.HttpStatusExceptionSupport implements si.mazi.rescu.HttpResponseAware
See Also:
  • Constructor Details

    • BinanceException

      public BinanceException(int code, String msg)
  • Method Details

    • getCode

      public int getCode()
    • setResponseHeaders

      public void setResponseHeaders(Map<String,List<String>> headers)
      Specified by:
      setResponseHeaders in interface si.mazi.rescu.HttpResponseAware
    • getResponseHeaders

      public Map<String,List<String>> getResponseHeaders()
      Specified by:
      getResponseHeaders in interface si.mazi.rescu.HttpResponseAware