FeedException ex = (FeedException)event.getSOAPException();
Vector v = new Vector();
DocumentBuilder builder =
XMLParserUtils.getXMLDocBuilder();
Document doc = builder.newDocument();
Hashtable detail = ex.getDetail();
Enumeration e = detail.keys();
while (e.hasMoreElements()) {
String name = (String)e.nextElement();
String value = (String)detail.get(name);
Element elem = doc.createElement(name);
Text txt = doc.createTextNode("");
txt.setData(value);
elem.appendChild(txt);
v.addElement(elem);
}
event.getFault().setDetailEntries(v);