StackTraceUtils
Utility methods for the stack.
Methods
toString
Description:
| Method | Return values | Description |
|---|---|---|
|
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));
}