throw new IllegalArgumentException("This feed already exists, but it has no id."); //$NON-NLS-1$
}
DBHelper.saveFeed(fDb, feed);
fDb.commit();
} catch (Db4oException e) {
throw new PersistenceException(e);
} finally {
fWriteLock.unlock();
}
DBHelper.cleanUpAndFireEvents();
return feed;