Forum newForum = null;
try {
Forum existingForum = getForum(name);
//The forum already exists since now exception, so:
throw new ForumAlreadyExistsException();
} catch (ForumNotFoundException fnfe) {
//The forum doesn't already exist so we can create a new one
newForum = new DbForum(name, description, this);
}
return newForum;