]> source.dussan.org Git - archiva.git/commitdiff
more detail in exception
authorOlivier Lamy <olamy@apache.org>
Tue, 15 Jan 2013 23:48:15 +0000 (23:48 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 15 Jan 2013 23:48:15 +0000 (23:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433743 13f79535-47bb-0310-9956-ffa450edef68

redback-rbac/redback-rbac-role-manager/src/main/java/org/apache/archiva/redback/role/DefaultRoleManager.java

index ec63909a961c67a3702b1e344e608e3c50fe8ce5..23ee5e075f23731c7d283d69fe3f5f3d1fa8697a 100644 (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 )