On Thursday 01 August 2002 19:18, Leo Sutic wrote:
> > 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.

sure... was just a simplified example :-)

> That and a boolean flag == good.

...as long as the container cannot tell - I'll go for it
--
Torsten

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

Reply via email to