Attila Szegedi wrote: > This seems fragile to me. can you detail why?
> In your place, I'd rather somehow build interception around the host > object. I.e. declare an interface for the host objects, and for purposes > of testing wrap it in a java.lang.reflect.Proxy that reports exceptions > into a log. Or use some AOP solution for achieving essentialy the same > functionality. I don't want exceptions to be reported into a log: I want them to come up! An alternative would be to open MemberBox to allow Rhino users to configure custom MemberBox instances as getter / setter for some slots. This way I could have my own implementaion of MemberBox.invoke that doesn't wrap InvocationTargetException's cause in a ScriptRuntimeException. Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
