Scovetta, Michael V wrote:
(new Throwable()).printStackTrace(pw);Depending on your JVM this might be extremely slow. Additionally the log4j people (who uses this method too) have found that some JIT's give incorrect stack traces.
Java 1.5 is rumoured to have much better facilities for this. -- Thorbjørn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]