Package org.codice.ddf.platform.util
Class Exceptions
java.lang.Object
org.codice.ddf.platform.util.Exceptions
This utility class defines methods useful to perform on throwable or exception objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringGiven a throwable, this traces back through the causes to construct a full message.
-
Method Details
-
getFullMessage
Given a throwable, this traces back through the causes to construct a full message.- Parameters:
th- meant to be a nested throwable, but doesn't have to be- Returns:
- all messages in reverse order (i.e. root cause message is first!)
-