Package com.intercom.api.core
Class IntercomApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.intercom.api.core.IntercomException
com.intercom.api.core.IntercomApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadRequestError,ForbiddenError,NotFoundError,UnauthorizedError,UnprocessableEntityError
This exception type will be thrown for any non-2XX API responses.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIntercomApiException(String message, int statusCode, Object body) IntercomApiException(String message, int statusCode, Object body, okhttp3.Response rawResponse) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace