include UndeclaredThrowable as an exception which is not interesting, and whose nested exception should be preferred for the purpose of informing the user of root causes