> From: Torsten Curdt [mailto:[EMAIL PROTECTED]] 
> 
> On Thursday 01 August 2002 19:07, Berin Loritsch wrote:
> > > From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
> > >
> > > BTW, fillInStackTrace() is a native method (AKA a JNI method).
> >
> > oh yeah, it is synchronized as well.
> >
> > Creating tons of exceptions in a multithreaded environment is not 
> > advised.
> 
> well, a boolean should do it (see example) and the Exception 
> could be created 
> in finalize.

Much more useful to spew out the stack as it were when the component
was obtained.

That and a boolean flag == good.

/LS


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to