mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-12 16:41:52 +02:00
Introduce default error object with context for not found exceptions
This commit is contained in:
@@ -172,7 +172,7 @@ public class DefaultGroupManager extends AbstractGroupManager
|
||||
|
||||
if (fresh == null)
|
||||
{
|
||||
throw new NotFoundException("group", group.getId());
|
||||
throw new NotFoundException(Group.class, group.getId());
|
||||
}
|
||||
|
||||
fresh.copyProperties(group);
|
||||
|
||||
Reference in New Issue
Block a user