Package org.drasyl.util
Class ThrowableUtil
java.lang.Object
org.drasyl.util.ThrowableUtil
Utility class for operations on
Throwables.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringstackTraceToString(Throwable throwable) Returns a string containing the text generated byThrowable.printStackTrace().
-
Method Details
-
stackTraceToString
Returns a string containing the text generated byThrowable.printStackTrace().- Parameters:
throwable-- Returns:
- string containing the text generated by
Throwable.printStackTrace()
-