StackTraceUtils

Utility methods for the stack.

Methods

toString

Description:

MethodReturn valuesDescription

toString(Throwable t)

String

Returns the exception stack as standard text.

Example:

import com.openkm.okmflow.util.*;

try {
  // Force exception
  List keys = null;
  for (String key : keys) {
  }
} catch (Exception e) {
  System.out.println(StackTraceUtilsUtils.toString(e));
}
Table of contents [ Hide Show ]