Class DataAPIHttpException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataAPITimeoutException

public class DataAPIHttpException extends DataAPIException
A request to the Data API resulted in an HTTP 4xx or 5xx response. In most cases this comes with additional information: the purpose of this class is to present such information in a structured way, askin to what happens for the DataAPIResponseException, while still raising`.
See Also:
  • Constructor Details

    • DataAPIHttpException

      public DataAPIHttpException(ClientErrorCodes code, String errorMessage)
      Constructors providing all arguments and a parent exception.
      Parameters:
      code - error code
      errorMessage - error message
    • DataAPIHttpException

      public DataAPIHttpException(String errorMessage)
      Constructors providing all arguments and a parent exception.
      Parameters:
      errorMessage - error message