com.evermind.server
Class DeadlockException


java.lang.Object

  |

  +--java.lang.Throwable

        |

        +--java.lang.Exception

              |

              +--java.io.IOException

                    |

                    +--java.rmi.RemoteException

                          |

                          +--com.evermind.server.DeadlockException

All Implemented Interfaces:
java.io.Serializable

public class DeadlockException
extends java.rmi.RemoteException

Exception that signals that a deadlock situation has been detected. This is thrown when the current thread is a part of a deadlock (would have hung forever) with a detailed exception message about the situation. If you get this exception there's a logic error in the flow of the user application that should be resolved. It is discouraged to rely on catching this type of exception as part of normal application flow.

See Also:
Serialized Form

Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
DeadlockException()
          Constructs a new DeadlockException without any message.
DeadlockException(java.lang.String message)
          Constructs a new DeadlockException without a detailed message.
 
Methods inherited from class java.rmi.RemoteException
getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeadlockException


public DeadlockException()
Constructs a new DeadlockException without any message.

DeadlockException


public DeadlockException(java.lang.String message)
Constructs a new DeadlockException without a detailed message.