GoogleAuthException

  • GoogleAuthException is a public class that extends Exception and signals Google authentication errors.

  • Unlike IOException s, GoogleAuthException s imply that authentication should not simply be retried.

  • Subclasses like UserRecoverableAuthException indicate transient user-correctable issues, while instances of GoogleAuthException itself denote permanent, non-correctable authorization problems.

  • GoogleAuthException has multiple public constructors allowing instantiation with no arguments, a String error message, a message and a Throwable cause, or just a Throwable cause.

  • It inherits various methods from java.lang.Throwable and java.lang.Object .

public class GoogleAuthException extends Exception
Known Direct Subclasses
UserRecoverableAuthException UserRecoverableAuthExceptions signal Google authentication errors that can be recovered with user action, such as a user login. 
UserRecoverableNotifiedException UserRecoverableNotifiedException signals that there was a Google authentication error which can be recovered with user action and has been handled by publishing a notification for the user to act on. 
Known Indirect Subclasses
GooglePlayServicesAvailabilityExceptions are special instances of UserRecoverableAuthException s which are thrown when the expected Google Play services app is not available for some reason. 

GoogleAuthExceptions signal Google authentication errors. In contrast to IOException s, 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)

Design a Mobile Site
View Site in Mobile | Classic
Share by: