public boolean accessDeniedNonRecoverable ( GoogleJsonError e ) { ErrorInfo errorInfo = getErrorInfo ( e ) ; if ( errorInfo != null ) { String reason = errorInfo . getReason ( ) ; return ACCOUNT_DISABLED_REASON_CODE . equals ( reason ) || ACCESS_NOT_CONFIGURED_REASON_CODE . equals ( reason ) ; } return false ; }
Determine if a given GoogleJsonError is caused by and only by account disabled error .