Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

exceptions in java object are not being bobbled

1 view
Skip to first unread message

Jaimon

unread,
Nov 23, 2009, 9:27:55 AM11/23/09
to
i have exposed few java objects to the context, using
ScriptableObject.putProperty(scope, key, Context.javaToJS(obj,
scope));

my question:
when this object throws an exception (lets say MyException) , i am
unable to bobble it properly to the the caller that began the script
evaluation.

MyException is being wrapped with a null pointer exception.

any one knows something about that?

thanks

0 new messages