Subj : Rhino - getting a js line number from WrappedException? To : netscape.public.mozilla.jseng From : ariel_ml@netvision.net.il (Ariel Malka) Date : Sun Aug 31 2003 04:07 am please consider the following javascript: [CODE] var x = 100; var y = 9999; function draw() { setPixel(x, y, 0); } [CODE] first, i'm evaluating the script, then, using Function.call(), i'm calling the draw() function. in the example, setPixel() is a java method, and with the current parameters, it's going to generate an ArrayOutOfBounds exception that is going to be catched by WrappedException. the only problem is that i don't find any way to report which javascript line number is responsible for the error... any way to solve this problem? thanks! .