Class CdpHTTPException

    • Constructor Detail

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

      • getHttpCode

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