Class SystemUtils

java.lang.Object
overit.geocallapp.utilities.system.SystemUtils

public class SystemUtils extends Object
The class contains system related utility methods.
Since:
1.0
  • Method Details

    • getStackTraceString

      public static String getStackTraceString()
      Returns the stack trace of the current thread.
      Returns:
      the stack trace of the current thread
    • getStackTraceString

      public static String getStackTraceString(Exception exception)
      Returns the stack trace of the given Exception.
      Parameters:
      exception - the exception
      Returns:
      the stack trace of the exception
    • getStackTraceString

      public static String getStackTraceString(Exception exception, int maxLength)
      Returns the stack trace of the given Exception.
      Parameters:
      exception - the exception
      maxLength - the max length of the stack trace
      Returns:
      the stack trace of the exception