Class BitmexException

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

public class BitmexException
extends si.mazi.rescu.HttpStatusExceptionSupport
implements si.mazi.rescu.HttpStatusException, si.mazi.rescu.HttpResponseAware
See Also:
Serialized Form
  • Constructor Details

    • BitmexException

      public BitmexException​(org.knowm.xchange.bitmex.BitmexException.Error error)
  • Method Details

    • getHttpStatusCode

      public int getHttpStatusCode()
      Specified by:
      getHttpStatusCode in interface si.mazi.rescu.HttpStatusException
      Overrides:
      getHttpStatusCode in class si.mazi.rescu.HttpStatusExceptionSupport
    • setHttpStatusCode

      public void setHttpStatusCode​(int httpStatusCode)
      Specified by:
      setHttpStatusCode in interface si.mazi.rescu.HttpStatusException
      Overrides:
      setHttpStatusCode in class si.mazi.rescu.HttpStatusExceptionSupport
    • getErrorName

      public String getErrorName()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class si.mazi.rescu.HttpStatusExceptionSupport
    • 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