Package com.apple.itunes.storekit.client
Class APIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.apple.itunes.storekit.client.APIException
- All Implemented Interfaces:
Serializable
Thrown when a non-2xx response is returned when calling the App Store Server API.
If an error code can be parsed from the response, an APIError
is included, else only the HTTP status code.
- See Also:
-
Constructor Summary
ConstructorDescriptionAPIException
(int httpStatusCode) APIException
(int httpStatusCode, APIError apiError, String apiErrorMessage) APIException
(int httpStatusCode, Exception cause) APIException
(int httpStatusCode, Long rawApiError, String apiErrorMessage) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace