GoogleAuthException

  • GoogleAuthException signals Google authentication errors that are generally permanent and not easily recoverable.

  • Subclasses like UserRecoverableAuthException indicate transient, user-correctable authentication issues.

  • GooglePlayServicesAvailabilityException is thrown when the necessary Google Play services app is unavailable.

  • Unlike IOExceptions, GoogleAuthExceptions should not be immediately retried, as they represent more persistent problems.

  • GoogleAuthException provides constructors for creating exceptions with error messages and underlying causes.

public class GoogleAuthException extends Exception
Known Direct Subclasses
Known Indirect Subclasses

GoogleAuthExceptions signal Google authentication errors. In contrast to IOExceptions, GoogleAuthExceptions imply that authentication shouldn't simply be retried.

Objects whose type is exactly GoogleAuthException denote an authorization problem that is expected to be permanent and not correctable by the user, such as invalid client. By contrast, subclasses such as UserRecoverableAuthException) are used for transient user-correctable issues. A transient issue may also be indicated by an IOException.

Public Constructor Summary

Inherited Method Summary

Public Constructors

public GoogleAuthException ()

public GoogleAuthException (String err)

public GoogleAuthException (String msg, Throwable throwable)

public GoogleAuthException (Throwable throwable)