Class AntsPlatformClientApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ants.platform.client.core.AntsPlatformClientException
com.ants.platform.client.core.AntsPlatformClientApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessDeniedError,Error,MethodNotAllowedError,NotFoundError,ServiceUnavailableError,UnauthorizedError
This exception type will be thrown for any non-2XX API responses.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
AntsPlatformClientApiException
-
-
Method Details
-
statusCode
public int statusCode()- Returns:
- the statusCode
-
body
- Returns:
- the body
-
toString
-