Class CdpHTTPException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CdpServiceException

public class CdpHTTPException extends CdpClientException
Class used to report exceptions which have an associated HTTP code.
See Also:
  • Constructor Details

    • CdpHTTPException

      public CdpHTTPException(int httpCode, String message, Throwable cause)
      Constructor.
      Parameters:
      httpCode - the HTTP code
      message - the error message
      cause - the cause
    • CdpHTTPException

      public CdpHTTPException(int httpCode, String message)
      Constructor.
      Parameters:
      httpCode - the HTTP code
      message - the error message
  • Method Details

    • getHttpCode

      public int getHttpCode()
      Gets the HTTP response code.
      Returns:
      the HTTP response code