On Thursday, 6 February 2014 at 19:05:49 UTC, Andrej Mitrovic wrote:
On Thursday, 6 February 2014 at 19:01:33 UTC, Johannes Pfau wrote:
You can store the exception as a global and that's done for the
OutOfMemoryError IIRC.

Hmm.. is that even safe? I mean in some case of exception chaining the same object could be overwritten before being thrown again, thereby losing the original exception state. Thinking out loud here..

You could use a circular buffer with appropriate length.

Reply via email to