Package org.drasyl.util
Class ThrowableUtil
java.lang.Object
org.drasyl.util.ThrowableUtil
Utility class for operations on
Throwable
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic String
stackTraceToString
(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()
-