Code example for OperationCanceledException

Methods: d

0
                    throw new Uploader.UnauthorizedException("null auth token"); 
            } 
            catch(OperationCanceledException operationcanceledexception)
            { 
                if(EsLog.isLoggable("iu.UploadsManager", 3)) 
                    Log.d("iu.UploadsManager", "authentication canceled", operationcanceledexception);
                throw new Uploader.UnauthorizedException(operationcanceledexception);
            } 
            catch(IOException ioexception)
            { 
                if(EsLog.isLoggable("iu.UploadsManager", 3)) 
                    Log.d("iu.UploadsManager", "authentication failed", ioexception);
                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());