GoogleAuthException

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

  • Unlike IOExceptions, GoogleAuthExceptions 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
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)