More information for missing aspect definition (ALF-20086)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2013-09-20 13:23:25 +00:00
parent 2aa82db35c
commit 359dc9fc1f

View File

@@ -1014,7 +1014,9 @@ public class ImporterComponent implements ImporterService
classDef = dictionaryService.getClass(parentAspect);
if (classDef == null)
{
throw new InvalidClassException("Failed import for context '" + context.getParentContext() + "'. Unknown aspect: ", parentAspect);
throw new InvalidClassException(
"Failed import for context '" + context.getParentContext() + "'. Unknown aspect: " + parentAspect,
parentAspect);
}
childAssocDefs = classDef.getChildAssociations();
for (ChildAssociationDefinition childAssocDef : childAssocDefs.values())