Class HttpException

  • All Implemented Interfaces:
    Serializable

    public class HttpException
    extends Exception
    Simple exception to capture details of a failed HTTP operation, including the response code and message.
    Author:
    James Murty
    See Also:
    Serialized Form
    • Constructor Detail

      • HttpException

        public HttpException​(int responseCode,
                             String responseMessage)
    • Method Detail

      • getResponseCode

        public int getResponseCode()
      • getResponseMessage

        public String getResponseMessage()