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 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 422

      The structure of this field seams to be very flexible

    • setErrors

      public void setErrors(com.fasterxml.jackson.databind.JsonNode errors)