Class ExceptionUtils

java.lang.Object
nva.commons.core.exceptions.ExceptionUtils

public final class ExceptionUtils extends Object
  • Method Details

    • stackTraceInSingleLine

      public static String stackTraceInSingleLine(Exception e)
      Returns the stacktrace in one line. It replaces all whitespaces with space and removes multiple whitespaces.
      Parameters:
      e - the Exception
      Returns:
      the Stacktrace String.