Better error message

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2644 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-04-11 10:47:44 +00:00
parent c544223cd5
commit ea3f625fd4

View File

@@ -165,8 +165,7 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl
Store store = nodeDaoService.getStore(protocol, identifier);
if (store != null)
{
throw new StoreExistsException("Unable to create a store that already exists",
new StoreRef(protocol, identifier));
throw new StoreExistsException("Unable to create a store that already exists: " + storeRef, storeRef);
}
// invoke policies