Code example for AuthenticatorException

Methods: getMessage

0
                throw new PendingAuthException(bundle);
            } 
        } catch (OperationCanceledException e) {
            Log.w(TAG, e.getMessage());
        } catch (AuthenticatorException e) {
            Log.w(TAG, e.getMessage());
        } catch (IOException e) {
            Log.w(TAG, e.getMessage());
        } 
        return authToken;
    } 
 
    public class PendingAuthException extends Exception {
        private static final long serialVersionUID = 1L;
        private final Bundle mAccountManagerBundle;
        public PendingAuthException(Bundle accountManagerBundle) {
            super(); 
            mAccountManagerBundle = accountManagerBundle;
        } 
 
        public Bundle getAccountManagerBundle() {