Merged HEAD (5.2) to 5.2.N (5.2.1)

127597 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@127689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2016-06-03 14:48:14 +00:00
parent a3b7a7c6d8
commit c7f6f894e4

View File

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