private void handleDeletedItem(KongaSaxParser parser, String nodeName) throws KongaSaxParserException {
EntityType type = null;
try {
type = EntityType.valueOf(nodeName);
} catch (IllegalArgumentException e) {
throw new KongaSaxParserException("Invalid EntityType: " + nodeName); //$NON-NLS-1$
}
try {
String idStringRep = parser.getCurrentAttributes().getValue(XmlConstants.Attributes.ID);
marker.markAsDeleted(type, type.getIntegrationId(idStringRep));
loader.logDetail("Marked as deleted: " + type + " [" + idStringRep + "]");
} catch (IllegalArgumentException e) {
throw new KongaSaxParserException("Invalid ID: " //$NON-NLS-1$
+ parser.getCurrentAttributes().getValue(XmlConstants.Attributes.ID));
}
}