Class 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 Detail

      • BitmexException

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

      • 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