Class APIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.amazon.A3L.authentication.common.api.APIException
- All Implemented Interfaces:
Serializable
Replication of ApiException class from GoogleSignIn
Google's ApiException class API reference can be found at
https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException
Version: Google Play Services - 20.3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAPIException
(int statusCode) APIException
(int statusCode, String message) APIException
(int statusCode, String message, Throwable cause) APIException
(int statusCode, Throwable cause) APIException
(Status status) -
Method Summary
Modifier and TypeMethodDescriptionint
Get status code of the APIExceptionGet status message of the APIExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
APIException
-
APIException
public APIException(int statusCode) -
APIException
-
APIException
-
APIException
-
-
Method Details
-
getStatusMessage
Get status message of the APIException- Returns:
- String: status message
-
getStatusCode
public int getStatusCode()Get status code of the APIException- Returns:
- int: status code
-
getMessage
- Overrides:
getMessage
in classThrowable
-