mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
Create NotFoundExceptions with id fields
This commit is contained in:
@@ -154,7 +154,7 @@ public class DefaultGroupManager extends AbstractGroupManager
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new GroupNotFoundException();
|
||||
throw new GroupNotFoundException(group);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ public class DefaultGroupManager extends AbstractGroupManager
|
||||
|
||||
if (fresh == null)
|
||||
{
|
||||
throw new GroupNotFoundException();
|
||||
throw new GroupNotFoundException(group);
|
||||
}
|
||||
|
||||
fresh.copyProperties(group);
|
||||
|
||||
Reference in New Issue
Block a user