public CougarFault unMarshallFault(InputStream inputStream, String encoding) {
//noinspection unchecked
final HashMap<String,Object> faultMap = (HashMap<String,Object>) unmarshall(inputStream, HashMap.class, encoding, true);
final String faultString = (String)faultMap.get("faultstring");
final FaultCode faultCode = FaultCode.valueOf((String) faultMap.get("faultcode"));
//noinspection unchecked
final HashMap<String, Object> detailMap = (HashMap<String, Object>)faultMap.get("detail");
String exceptionName = (String)detailMap.get("exceptionname");