GoogleAuthException
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
  
  
  
  
  
    
      
        
          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
          
         | 
      
    
    
      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
          
            From class java.lang.Throwable
            
           
          
            From class java.lang.Object
            
              
              
                
                  
                    | 
                      Object
                     | 
                    
                       
                        clone()
                       
                     | 
                  
                  
                    | boolean | 
                    
                      
                     | 
                  
                  
                    | void | 
                    
                       
                        finalize()
                       
                     | 
                  
                  
                    | 
                      final Class<?>
                     | 
                    
                       
                        getClass()
                       
                     | 
                  
                  
                    | int | 
                    
                       
                        hashCode()
                       
                     | 
                  
                  
                    | final void | 
                    
                       
                        notify()
                       
                     | 
                  
                  
                    | final void | 
                    
                       
                        notifyAll()
                       
                     | 
                  
                  
                    | 
                      String
                     | 
                    
                       
                        toString()
                       
                     | 
                  
                  
                    | final void | 
                    
                       
                        wait(long arg0, int arg1)
                       
                     | 
                  
                  
                    | final void | 
                    
                       
                        wait(long arg0)
                       
                     | 
                  
                  
                    | final void | 
                    
                       
                        wait()
                       
                     | 
                  
                
               
             
           
        
      
     
    
    
    
    
    
    
    
    
      Public Constructors
      
        public GoogleAuthException ()
        
        
       
      
        public GoogleAuthException (String err)
        
        
       
      
      
        public GoogleAuthException (Throwable
        throwable)
        
        
       
    
    
    
    
    
    
    
   
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2024-10-31 UTC.
  
  
  
    
      [null,null,["Last updated 2024-10-31 UTC."],[],["`GoogleAuthException` signals errors in Google authentication, unlike `IOException`, they suggest not to retry. These exceptions indicate permanent issues, such as invalid client credentials.  Subclasses like `UserRecoverableAuthException` represent user-correctable problems; `UserRecoverableNotifiedException` are those issues that have been notified to the user, while `GooglePlayServicesAvailabilityException` are issues related to Google play services availability. Constructors allow creating exceptions with or without an error message or throwable. It also includes inherited methods for error handling and object management.\n"]]