}
}
break;
case DELETE:
LOG.log(Level.INFO, "preparing to delete " + dnByteString);
DeleteOperation delOp = cc.processDelete(dnByteString);
rc = delOp.getResultCode();
if (rc.equals(ResultCode.SUCCESS)) {
LOG.log(Level.INFO, "processed server delete " +
delOp.getEntryDN());
} else {
// report the error to the user
MessageBuilder error = delOp.getErrorMessage();
throw new ApplicationException(
ReturnCode.IMPORT_ERROR,
INFO_ERROR_APPLY_LDIF_DELETE.get(dnByteString.toString(),
error != null ? error.toString() : ""),
null);