constructorArgTypes[1] = JavaTypeName.THROWABLE;
ClassInstanceCreationExpression nc =
new ClassInstanceCreationExpression (JavaTypeNames.RTFOREIGN_FUNCTION_EXCEPTION, constructorArgs, constructorArgTypes);
ThrowStatement throwSt = new ThrowStatement (nc);
JavaExceptionHandler eh = new JavaExceptionHandler(exceptionClass, "caught_exception", throwSt);
exceptionInfo.add(eh);
}