Package generic.test
Class TestExceptionTracker
- java.lang.Object
-
- generic.test.TestExceptionTracker
-
public class TestExceptionTracker extends java.lang.Object
A class to take an exception and capture test system state for later reporting.
-
-
Constructor Summary
Constructors Constructor Description TestExceptionTracker(java.lang.String threadName, java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCombinedException()
java.lang.Throwable
getException()
java.lang.String
getExceptionMessage()
java.lang.StackTraceElement[]
getStackTrace()
java.lang.String
getThreadName()
void
printStackTrace()
-
-
-
Method Detail
-
getException
public java.lang.Throwable getException()
-
getCombinedException
public java.lang.Throwable getCombinedException()
-
printStackTrace
public void printStackTrace()
-
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()
-
getExceptionMessage
public java.lang.String getExceptionMessage()
-
getThreadName
public java.lang.String getThreadName()
-
-