edu.rice.cs.cunit.concJUnit
Class LuckyError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by edu.rice.cs.cunit.concJUnit.MultithreadedTestError
              extended by edu.rice.cs.cunit.concJUnit.CreationContextError
                  extended by 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.
 
Method Summary
 
Methods inherited from class edu.rice.cs.cunit.concJUnit.CreationContextError
getCreationContext, parseCreationContextString
 
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

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 message
stes - 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 message
cc - string with creation context, describing where the thread was started