Package org.knowm.xchange.bitmex
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setHttpStatusCode
(int httpStatusCode) void
setResponseHeaders
(Map<String, List<String>> headers) Methods inherited from class si.mazi.rescu.HttpStatusExceptionSupport
getStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BitmexException
public BitmexException(org.knowm.xchange.bitmex.BitmexException.Error error)
-
-
Method Details
-
getHttpStatusCode
public int getHttpStatusCode()- Specified by:
getHttpStatusCode
in interfacesi.mazi.rescu.HttpStatusException
- Overrides:
getHttpStatusCode
in classsi.mazi.rescu.HttpStatusExceptionSupport
-
setHttpStatusCode
public void setHttpStatusCode(int httpStatusCode) - Specified by:
setHttpStatusCode
in interfacesi.mazi.rescu.HttpStatusException
- Overrides:
setHttpStatusCode
in classsi.mazi.rescu.HttpStatusExceptionSupport
-
getErrorName
-
getMessage
- Overrides:
getMessage
in classsi.mazi.rescu.HttpStatusExceptionSupport
-
setResponseHeaders
- Specified by:
setResponseHeaders
in interfacesi.mazi.rescu.HttpResponseAware
-
getResponseHeaders
- Specified by:
getResponseHeaders
in interfacesi.mazi.rescu.HttpResponseAware
-