Determining Current Call Stack (For Diagnostic Purposes)

I think you can get the same thing with:

StackTraceElement[] cause = Thread.currentThread().getStackTrace();

Leave a Comment