|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.test.junit_extension.ExceptionPrinter
public class ExceptionPrinter
ExceptionPrinter print out an exception with the place where the exception occurs
Constructor Summary | |
---|---|
ExceptionPrinter()
|
Method Summary | |
---|---|
static void |
printException(java.lang.Exception ex)
Print out exception stack trace and the place where the exception was thrown. |
static void |
printException(java.lang.StackTraceElement[] stackTrace,
java.lang.String message)
Print out exception stack trace and the place where the exception was thrown. |
static void |
printException(java.lang.String message)
Print out the exception message and where the exception was thrown. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionPrinter()
Method Detail |
---|
public static void printException(java.lang.StackTraceElement[] stackTrace, java.lang.String message)
stackTrace
- a exception stack tracemessage
- exception messagepublic static void printException(java.lang.String message)
message
- exception messagepublic static void printException(java.lang.Exception ex)
ex
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |