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:
Derek Hulley
2006-02-15 16:03:00 +00:00
parent d29cf7e074
commit 58afec2afb
3 changed files with 3 additions and 3 deletions

View File

@@ -220,7 +220,7 @@ public class JavaBehaviour implements Behaviour
}
catch (InvocationTargetException e)
{
throw e.getCause();
throw e.getTargetException();
}
finally
{

View File

@@ -218,7 +218,7 @@ import java.util.List;
}
catch (InvocationTargetException e)
{
throw e.getCause();
throw e.getTargetException();
}
}