Package org.actioncontroller.client
Class HttpClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.actioncontroller.client.HttpClientException
-
- All Implemented Interfaces:
Serializable
public class HttpClientException extends RuntimeException
Thrown byApiClientProxywhen the HTTP request returned a failure status code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpClientException(int responseCode, String responseMessage, String responseBody, URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetResponseBody()intgetStatusCode()StringgetTruncatedBody()URLgetUrl()inthashCode()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-