|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.util.DebugUtil
public final class DebugUtil
Contains some debugging functionality; useful if you are running large testsuites and can't rely on a debugger.
Method Summary | |
---|---|
static void |
appendStackTrace(File file)
Appends the stacktrace of the current thread to a file. |
static void |
appendWithNewLine(File file,
String s)
Appends text to a file. |
static void |
printStackTrace(String msg)
Prints the stacktrace of the calling thread to System.out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void printStackTrace(String msg)
msg
- debug messagepublic static void appendStackTrace(File file)
file
- the file to which the stacktrace of the current thread is appended.
NullPointerException
- if file is null.public static void appendWithNewLine(File file, String s)
file
- the file to which text is appended.s
- the text to append to the file.
NullPointerException
- if file is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |