Class CdpServiceException

    • Constructor Detail

      • CdpServiceException

        public CdpServiceException​(String requestId,
                                   int httpCode,
                                   Map<String,​List<String>> responseHeaders,
                                   String statusCode,
                                   String statusMessage)
        Constructor.
        Parameters:
        requestId - the request ID
        httpCode - the HTTP code
        responseHeaders - the response headers
        statusCode - the status code
        statusMessage - the status message
    • Method Detail

      • getStatusCode

        public String getStatusCode()
        Gets the API status code.
        Returns:
        the API status code
      • getStatusMessage

        public String getStatusMessage()
        Gets the API status message.
        Returns:
        the API status message
      • getResponseHeaders

        public Map<String,​List<String>> getResponseHeaders()
        Gets the response headers, if any.
        Returns:
        the response headers
      • getRequestId

        public String getRequestId()
        Gets the requestId.
        Returns:
        the requestId