mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
InvocationTargetException propogation uses getTargetException rather than getCause
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -220,7 +220,7 @@ public class JavaBehaviour implements Behaviour
|
||||
}
|
||||
catch (InvocationTargetException e)
|
||||
{
|
||||
throw e.getCause();
|
||||
throw e.getTargetException();
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@@ -218,7 +218,7 @@ import java.util.List;
|
||||
}
|
||||
catch (InvocationTargetException e)
|
||||
{
|
||||
throw e.getCause();
|
||||
throw e.getTargetException();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user