Java matured very quickly in most respects after it was first introduced, but for a long time, printing was one of Java’s weakest points. In fact, Java 1.0 didn’t offer any support for printing at all ...
Tip #5 of my blog post Ten Tips for Using Java Stack Traces demonstrates two example of using Java code to extract a Throwable‘s (implying Error or Exception) stack ...