String.valueOf(saxParseException.getLineNumber()));
n.addExtraDescription(Notifying.EXTRA_COLUMN,
String.valueOf(saxParseException.getColumnNumber()));
} else if (rootCause instanceof TransformerException) {
TransformerException transformerException = (TransformerException) rootCause;
SourceLocator sourceLocator = transformerException.getLocator();
if (null != sourceLocator) {
n.addExtraDescription(Notifying.EXTRA_LOCATION,
String.valueOf(sourceLocator.getSystemId()));
n.addExtraDescription(Notifying.EXTRA_LINE,
String.valueOf(sourceLocator.getLineNumber()));
n.addExtraDescription(Notifying.EXTRA_COLUMN,
String.valueOf(sourceLocator.getColumnNumber()));
}
}
// Add root cause exception stacktrace
StringWriter sw = new StringWriter();