Merged DEV to HEAD

51986: Propagate originating stack trace when InvalidNodeRefException passes through MT interceptor
          - CLOUD-1685, CLOUD-1827, CLOUD-1828


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2013-07-02 16:00:07 +00:00
parent 81ba1715c4
commit d54e65080a

View File

@@ -141,7 +141,10 @@ public class MultiTNodeServiceInterceptor extends DelegatingIntroductionIntercep
} }
catch (InvalidNodeRefException inre) catch (InvalidNodeRefException inre)
{ {
throw new InvalidNodeRefException(inre.getMessage(), tenantService.getBaseName(inre.getNodeRef())); throw new InvalidNodeRefException(
"Failed invocation: " + invocation,
tenantService.getBaseName(inre.getNodeRef()),
inre);
} }
if (methodName.equals("getProperty")) if (methodName.equals("getProperty"))