Subj : Re: Rhino: missing feature, line-number information in all thrown To : Merten Schumann From : Igor Bukanov Date : Thu Aug 28 2003 11:15 am Merten Schumann wrote: > Hello, > > is it possible to implement methods like ECMAError::getLineNumber() in > other exceptions thrown by Rhino (EvaluatorException, JavaScriptException) > too? That would be very helpful in debugging or in general when exceptions > appear. I saw EvaluatorException's message to include > ", line 14" > which means, the line-number information was known at time of throwing the > exception. A .getLineNumber() would allow me to implement/document > a well-defined way for a user how to find out where his script crashed ... > I suggest to add an enhancment bug report at bugzilla.mozilla.org for Rhino for that. Regards, Igor .