UserRecoverableAuthException | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class

# UserRecoverableAuthException

extends GoogleAuthException

java.lang.Object
↳ | java.lang.Throwable
| ↳ | java.lang.Exception
|  | ↳ | com.google.android.gms.auth.GoogleAuthException
|  |  | ↳ | com.google.android.gms.auth.UserRecoverableAuthException

Known Direct Subclasses GooglePlayServicesAvailabilityException
GooglePlayServicesAvailabilityException | GooglePlayServicesAvailabilityExceptions are special instances of `UserRecoverableAuthException`s which are thrown when the expected Google Play services app is not available for some reason.

## Class Overview

UserRecoverableAuthExceptions signal Google authentication errors that can be recovered with user action, such as a user login.

## Summary

Public Constructors
| UserRecoverableAuthException(String msg, Intent intent)

Public Methods
Intent | getIntent() Getter for an `Intent` that when supplied to `startActivityForResult(Intent, int)`, will allow user intervention.

[Expand] Inherited Methods
From class java.lang.Throwable
synchronized Throwable | fillInStackTrace()
Throwable | getCause()
String | getLocalizedMessage()
String | getMessage()
StackTraceElement[] | getStackTrace()
synchronized Throwable | initCause(Throwable arg0)
void | printStackTrace(PrintWriter arg0)
void | printStackTrace(PrintStream arg0)
void | printStackTrace()
void | setStackTrace(StackTraceElement[] arg0)
String | toString()
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Public Constructors

#### public UserRecoverableAuthException (String msg, Intent intent)

## Public Methods

#### public Intent getIntent ()

Getter for an `Intent` that when supplied to `startActivityForResult(Intent, int)`, will allow user intervention.

##### Returns

- Intent representing the ameliorating user action.