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 ...
Error handling and trace logs are as old as the hills. Of course this is handled in the clouds, right?? Keep laughing... Error handling is such a pedestrian issue ...