if(!dirExists()) throw new NoSuchDirectoryException(this);
try {
FileUtils.deleteDirectory(dir);
logger.debug(Messages.NODE_DELETED_LOG_MSG, getTypeName(), dir.getPath());
notifyObservers(new NodeDeletedEvent(), this);
}
catch(IOException e) {
throw new ModelUpdateException(e);
}
}