Code example for AuthenticatorException

Methods: w

0
                throw ioexception;
            } 
            catch(AuthenticatorException authenticatorexception)
            { 
                if(EsLog.isLoggable("iu.UploadsManager", 5)) 
                    Log.w("iu.UploadsManager", authenticatorexception);
                throw new Uploader.UnauthorizedException(authenticatorexception);
            } 
            httpurirequest.setHeader("Authorization", (new StringBuilder("GoogleLogin auth=")).append(s2).toString());
            if(EsLog.isLoggable("iu.UploadsManager", 3)) 
                Log.d("iu.UploadsManager", "executeWithAuthRetry: attempt #2");
            long l1 = SystemClock.elapsedRealtime();
            httpresponse = mHttpClient.execute(httpurirequest);
            MetricsUtils.incrementNetworkOpDuration(SystemClock.elapsedRealtime() - l1);
        } 
        return httpresponse;
    } 
 
    private String getAuthToken(String s)
        throws IOException, Uploader.UnauthorizedException 
    {