Code example for OperationCanceledException

Methods: printStackTrace

0
				} else { 
					onGetAuthToken(bundle, mCallback);
				} 
			} catch (OperationCanceledException e) {
				// TODO Auto-generated catch block 
				e.printStackTrace();
			} catch (AuthenticatorException e) {
				// TODO Auto-generated catch block 
				e.printStackTrace();
			} catch (IOException e) {
				// TODO Auto-generated catch block 
				e.printStackTrace();
			} 
		} 
	}; 
 
	protected void onGetAuthToken(Bundle bundle, PopulateAuthCallback callback) {
		String auth_token = bundle.getString(AccountManager.KEY_AUTHTOKEN);
		Log.e(TAG, "At onGetAuthToken: " + auth_token);
		new GetCookieTask(callback).execute(auth_token);
	}