Subj : Re: Rhino - getting a js line number from WrappedException? To : Ariel Malka From : Igor Bukanov Date : Mon Sep 01 2003 09:30 am Ariel Malka wrote: .... > 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... In CVS tip for Rhino EvaluatorException which extends WrappedException defines getSourceName/getLineNumber methods that should give you the necessary information. See http://bugzilla.mozilla.org/show_bug.cgi?id=217584 for details. Regards, Igor .