org.apache.qpid.junit.concurrency
Class PossibleDeadlockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.qpid.junit.concurrency.PossibleDeadlockException
All Implemented Interfaces:
Serializable

public class PossibleDeadlockException
extends RuntimeException

PossibleDeadlockException is used to signal that two test threads being executed by a ThreadTestCoordinator may be in a state of deadlock because they are mutually blocking each other or one is waiting on the other and the other has been blocked elsewhere for longer than a specified timeout.

CRC Card
Responsibilities Collaborations
Signal a possible state of deadlock between coordinated test threads.

See Also:
Serialized Form

Constructor Summary
PossibleDeadlockException(String message)
          Create a new possible deadlock execption.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PossibleDeadlockException

public PossibleDeadlockException(String message)
Create a new possible deadlock execption.

Parameters:
message - The exception message.


Licensed to the Apache Software Foundation