Guava Throwables Tutorial

Guava provides the Throwables class which contains a number of static utility methods to work with instances of Java Throwable. Exception handling is a common component in nearly all java programs and getting it correct and consistently printing out the right information can be tricky. Navigating stack traces is not always straightforward and extracting the relevant information is cumbersome. Thankfully, Throwables makes it much easier to print and extract the needed data.

(more…)

Read More