.evaluate("/Error/@Method", doc, XPathConstants.STRING);
String calaisRequestID = (String) xpath
.evaluate("/Error/@calaisRequestID", doc, XPathConstants.STRING);
String creationDate = (String) xpath
.evaluate("/Error/@CreationDate", doc, XPathConstants.STRING);
String calaisVersion = (String) xpath
.evaluate("/Error/@CalaisVersion", doc, XPathConstants.STRING);
String exception = (String) xpath
.evaluate("/Error/Exception/text()", doc, XPathConstants.STRING);
return new CalaisException(method, calaisRequestID, creationDate,
calaisVersion, exception);