Package 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
-
-
Constructor Summary
Constructors Constructor Description HttpException(int responseCode, String responseMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getResponseCode()
String
getResponseMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-