Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)

127314 jvonka: Fix RA-929 (Error message should not be empty when creating duplicate peer association)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-06-02 22:18:04 +00:00
parent d0d4fd5518
commit 05b364b07f

View File

@@ -92,7 +92,7 @@ public class NodeTargetsRelation extends AbstractNodeRelation implements
}
catch (AssociationExistsException aee)
{
throw new ConstraintViolatedException(aee.getMessage());
throw new ConstraintViolatedException("Node association '"+assocTypeStr+"' already exists from "+sourceNodeId+" to "+targetNodeId);
}
catch (IllegalArgumentException iae)
{