output.output(_message, writer);
String xml = writer.toString();
if (LOG.isDebugEnabled()) {
LOG.debug("Risk Information Notification received: [" + xml + "]");
}
RiskInformationNotification notification = (RiskInformationNotification) Unmarshaller.unmarshal(RiskInformationNotification.class, new StringReader(writer.toString()));
handleNotification(notification);
} catch (MarshalException e) {
throw new HandlerException("Error marshalling XML: " + e.getLocalizedMessage(), e);
} catch (ValidationException e) {
throw new HandlerException("Error validating XML: " + e.getLocalizedMessage(), e);