|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Error edu.rice.cs.cunit.concJUnit.MultithreadedTestError edu.rice.cs.cunit.concJUnit.CreationContextError
public abstract class CreationContextError
Class representing a conceptual error of a multithreaded test that has information about the creation context of a thread.
Constructor Summary | |
---|---|
CreationContextError(String message)
Constructs a new test error with the specified detail message and no creation context. |
|
CreationContextError(String message,
StackTraceElement[] stes)
Constructs a new multithreaded test error with the specified detail message and creation context. |
|
CreationContextError(String message,
String cc)
Constructs a new multithreaded test error with the specified detail message and creation context. |
Method Summary | |
---|---|
StackTraceElement[] |
getCreationContext()
Returns the creation context. |
static StackTraceElement[] |
parseCreationContextString(String cc)
Parse a creation context string. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreationContextError(String message)
message
- the detail messagepublic CreationContextError(String message, StackTraceElement[] stes)
message
- the detail messagestes
- array of stack trace elements, describing where the thread was startedpublic CreationContextError(String message, String cc)
message
- the detail messagecc
- string with creation context, describing where the thread was startedMethod Detail |
---|
public StackTraceElement[] getCreationContext()
public static StackTraceElement[] parseCreationContextString(String cc)
cc
- creation context string (looks like a stack trace printed out).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |