public String toXmlErrorMessage(boolean includeDebugInfo){
  StringBuilder sb=new StringBuilder();
  sb.append("<errors xmlns='http://schemas.google.com/g/2005'>\n");
  for (  ServiceException sibling : siblings) {
    addXmlError(sibling,sb,includeDebugInfo);
  }
  sb.append("</errors>\n");
  return sb.toString();
}

public String toXmlErrorMessage ( boolean includeDebugInfo ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "<errors xmlns='http://schemas.google.com/g/2005'>\n" ) ; for ( ServiceException sibling : siblings ) { addXmlError ( sibling , sb , includeDebugInfo ) ; } sb . append ( "</errors>\n" ) ; return sb . toString ( ) ; }
converts the exception into a well - formated xml error message suitable for external uses .
