Subj : Re: How do I raise an exception? To : Thomas Sondergaard From : Brendan Eich Date : Wed Aug 03 2005 10:37 am Thomas Sondergaard wrote: > Brendan Eich wrote: > >> No, you can use JS_ReportError to throw errors as exceptions, but they >> won't be localizable. The bug you may be referring to involves the >> hardwired error numbers enumerated with other data by js.msg, and how >> an embedding can't use JS_ReportErrorNumber or related APIs with its >> own catalog of messages. > > > I think this is your comment on the bug that I'm talking about > https://bugzilla.mozilla.org/show_bug.cgi?id=215173#c6 Right you are, I had forgotten about that further evil -- bad enough that one can't use one's own localizable message catalog. Ugh! Will try to fix this when I get back in a week, but the fix will show up only in the mozilla1.9a trunk CVS. /be .