Class APIException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.amazon.A3L.authentication.common.api.APIException
All Implemented Interfaces:
Serializable

public class APIException extends 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:
  • Constructor Details

    • APIException

      public APIException(int statusCode, String message)
    • APIException

      public APIException(int statusCode)
    • APIException

      public APIException(int statusCode, String message, Throwable cause)
    • APIException

      public APIException(int statusCode, Throwable cause)
    • APIException

      public APIException(Status status)
  • Method Details

    • getStatusMessage

      public 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 String getMessage()
      Overrides:
      getMessage in class Throwable