Package org.drasyl.util
Class ThrowableUtil
- java.lang.Object
-
- org.drasyl.util.ThrowableUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
stackTraceToString(Throwable throwable)
Returns a string containing the text generated byThrowable.printStackTrace()
.
-
-
-
Method Detail
-
stackTraceToString
public static String stackTraceToString(Throwable throwable)
Returns a string containing the text generated byThrowable.printStackTrace()
.- Parameters:
throwable
-- Returns:
- string containing the text generated by
Throwable.printStackTrace()
-
-