protected ErrorInfo getErrorInfo(IOException e) {
    GoogleJsonError gjre = getDetails(e);
    if (gjre != null) {
      return getErrorInfo(gjre);
    }
    return null;
  }
protected ErrorInfo getErrorInfo ( IOException e ) { GoogleJsonError gjre = getDetails ( e ) ; if ( gjre != null ) { return getErrorInfo ( gjre ) ; } return null ; }
Get the first ErrorInfo from an IOException if it is an instance of
GoogleJsonResponseException, otherwise return null.