RootCauseFinder SPI to help Exception root cause finding. Either returns a more specific Throwable or an Optional#empty() . API RootCauseFinder.java interface RootCauseFinder { }