Class 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:
    Serialized Form
    • Constructor Detail

      • CoindealException

        public CoindealException()
    • Method Detail

      • 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)