Class SystemUtils
java.lang.Object
overit.geocallapp.utilities.system.SystemUtils
The class contains system related utility methods.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the stack trace of the current thread.static StringgetStackTraceString(Exception exception) Returns the stack trace of the givenException.static StringgetStackTraceString(Exception exception, int maxLength) Returns the stack trace of the givenException.
-
Method Details
-
getStackTraceString
Returns the stack trace of the current thread.- Returns:
- the stack trace of the current thread
-
getStackTraceString
Returns the stack trace of the givenException.- Parameters:
exception- the exception- Returns:
- the stack trace of the exception
-
getStackTraceString
Returns the stack trace of the givenException.- Parameters:
exception- the exceptionmaxLength- the max length of the stack trace- Returns:
- the stack trace of the exception
-