rw.write("<?Tr-XHR-Response-Type ?>\n");
rw.startElement("error", null);
rw.writeAttribute("status", HttpServletResponse.SC_INTERNAL_SERVER_ERROR, null);
rw.writeText(_getExceptionString(t) + _PLEASE_SEE_ERROR_LOG + error, null);
rw.endElement("error");
rw.endDocument();
rw.close();
}
static private String _getExceptionString(Throwable t)