|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.error.StackTraceUtil
public class StackTraceUtil
Helper class around outputting stack traces.
Constructor Summary | |
---|---|
StackTraceUtil()
|
Method Summary | |
---|---|
static void |
buildStackTrace(java.lang.String msg,
java.lang.StackTraceElement[] stackTraceElements,
java.lang.StringBuilder sb,
int maxDepth)
Builds a message with the stack trace of the form: |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StackTraceUtil()
Method Detail |
---|
public static void buildStackTrace(java.lang.String msg, java.lang.StackTraceElement[] stackTraceElements, java.lang.StringBuilder sb, int maxDepth)
SOME MESSAGE: Started at: com.package... com.package... ...
msg
- the initial error messagestackTraceElements
- the stack trace elementssb
- the buffer to append tomaxDepth
- the maximum number of trace elements to output. 0 or less means output all.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |