edu.rice.cs.cunit.concJUnit
Class LuckyError
java.lang.Object
java.lang.Throwable
java.lang.Error
edu.rice.cs.cunit.concJUnit.MultithreadedTestError
edu.rice.cs.cunit.concJUnit.CreationContextError
edu.rice.cs.cunit.concJUnit.LuckyError
- All Implemented Interfaces:
- Serializable
public class LuckyError
- extends CreationContextError
Class representing a conceptual error of a multithreaded test: the
thread end before the test was over, but there was no join.
- See Also:
- Serialized Form
Constructor Summary |
LuckyError(String message)
Constructs a new "lucky" test error with the specified detail message. |
LuckyError(String message,
StackTraceElement[] stes)
Constructs a new "lucky" test error with the specified detail message and
creation context. |
LuckyError(String message,
String cc)
Constructs a new "lucky" test error with the specified detail message and
creation context. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
LuckyError
public LuckyError(String message)
- Constructs a new "lucky" test error with the specified detail message.
- Parameters:
message
- the detail message
LuckyError
public LuckyError(String message,
StackTraceElement[] stes)
- Constructs a new "lucky" test error with the specified detail message and
creation context.
- Parameters:
message
- the detail messagestes
- array of stack trace elements, describing where the thread was started
LuckyError
public LuckyError(String message,
String cc)
- Constructs a new "lucky" test error with the specified detail message and
creation context.
- Parameters:
message
- the detail messagecc
- string with creation context, describing where the thread was started