Package de.xima.fc.utils
Class XExceptionUtils
java.lang.Object
de.xima.fc.utils.XExceptionUtils
Utility functions for
Exceptions and Throwables, in addition to those already provided by
ExceptionUtils.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringFor a given throwable, returns a string with the message of the throwable and the messages from all causes and suppressed throwables of that throwable.
-
Method Details
-
getAllFormattedCausesAndSuppressed
For a given throwable, returns a string with the message of the throwable and the messages from all causes and suppressed throwables of that throwable. Produces output similar toThrowable.printStackTrace(), but with only the exception messages and without the call stack entries.- Parameters:
error- Throwable to process.- Returns:
- The messages of the error and all its causes and suppressions.
-