On 3/27/06, Thorbjørn Ravn Andersen <[EMAIL PROTECTED]> wrote: > I believe to have read that some of the optimizations that went into > Java 5 was the construction of the stacktrace in an exception. > > So I think it is not as much the object but more all the track keeping > that is expensive.
Of course. Object itself (new String() for instance) takes almost nothing. -- Anton Avtamonov, Intel Middleware Products Division