added message to GroupAlreadyExistsException

This commit is contained in:
Sebastian Sdorra
2016-12-07 22:24:59 +01:00
parent d3adf8a893
commit 2a6f51fa6d
2 changed files with 10 additions and 1 deletions

View File

@@ -135,7 +135,7 @@ public class DefaultGroupManager extends AbstractGroupManager
if (groupDAO.contains(name))
{
throw new GroupAllreadyExistExeption();
throw new GroupAllreadyExistExeption(name.concat(" group already exists"));
}
removeDuplicateMembers(group);