Class APIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.amazon.A3L.authentication.common.api.APIException
-
- All Implemented Interfaces:
java.io.Serializable
public class APIException extends java.lang.Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIException(int statusCode)
APIException(int statusCode, java.lang.String message)
APIException(int statusCode, java.lang.String message, java.lang.Throwable cause)
APIException(int statusCode, java.lang.Throwable cause)
APIException(Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
int
getStatusCode()
Get status code of the APIExceptionjava.lang.String
getStatusMessage()
Get status message of the APIException
-
-
-
Constructor Detail
-
APIException
public APIException(int statusCode, java.lang.String message)
-
APIException
public APIException(int statusCode)
-
APIException
public APIException(int statusCode, java.lang.String message, java.lang.Throwable cause)
-
APIException
public APIException(int statusCode, java.lang.Throwable cause)
-
APIException
public APIException(Status status)
-
-
Method Detail
-
getStatusMessage
public java.lang.String 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
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-