Class StatusCodeException

    • Constructor Detail

      • StatusCodeException

        public StatusCodeException​(String url,
                                   int statusCode,
                                   String statusMessage,
                                   String returnedContent)
    • Method Detail

      • getUrl

        public String getUrl()
        The URL that generated the failure response.
        Returns:
        The URL that generated the failure response.
      • getStatusCode

        public int getStatusCode()
        The status code returned by the server.
        Returns:
        the statusCode
      • getStatusMessage

        public String getStatusMessage()
        The status message returned by the server.
        Returns:
        the statusMessage
      • getReturnedContent

        public String getReturnedContent()
        The content returned by the server.
        Returns:
        the returnedContent