Package org.knowm.xchange.coindeal.dto
Class CoindealException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
si.mazi.rescu.HttpStatusExceptionSupport
org.knowm.xchange.coindeal.dto.CoindealException
- All Implemented Interfaces:
Serializable
,si.mazi.rescu.HttpStatusException
public class CoindealException
extends si.mazi.rescu.HttpStatusExceptionSupport
CoinDeal API exception
CoinDeals error response format is wildly inconsistent - its like totally different in various situations. As a consiquence this class will have many properties that are sometimes set and sometimes null.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class si.mazi.rescu.HttpStatusExceptionSupport
getHttpStatusCode, getMessage, getStackTrace, setHttpStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CoindealException
public CoindealException()
-
-
Method Details
-
getErrors
public com.fasterxml.jackson.databind.JsonNode getErrors()Used by the exchange for validation errors returned with HTTP code 422The structure of this field seams to be very flexible
-
setErrors
public void setErrors(com.fasterxml.jackson.databind.JsonNode errors)
-