Class HttpException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jets3t.service.impl.rest.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:
  • Constructor Details

    • HttpException

      public HttpException(int responseCode, String responseMessage)
  • Method Details

    • getResponseCode

      public int getResponseCode()
    • getResponseMessage

      public String getResponseMessage()