org.jets3t.service.impl.rest
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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HttpException
public HttpException(int responseCode,
String responseMessage)
getResponseCode
public int getResponseCode()
getResponseMessage
public String getResponseMessage()