more detail in exception

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433743 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-15 23:48:15 +00:00
parent 50dde95a6a
commit 911538263c
1 changed files with 2 additions and 2 deletions

View File

@ -449,8 +449,8 @@ public class DefaultRoleManager
else
{
// perhaps try and reload the model here?
throw new RoleManagerException(
"breakdown in role management, role exists in configuration but was not created in underlying store" );
throw new RoleManagerException( "breakdown in role management, role '" + modelRole.getName()
+ "' exists in configuration but was not created in underlying store" );
}
}
catch ( RbacManagerException e )