net.sf.jzeno.exception
Class DeadlockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.jzeno.exception.ManagedRuntimeException
                  extended by net.sf.jzeno.exception.DeadlockException
All Implemented Interfaces:
java.io.Serializable

public class DeadlockException
extends ManagedRuntimeException

This exception gets thrown by a business facade if a deadlock on the database was detected, and we were selected as deadlock victim. The Dead-retry aspect will trigger on this exception to retry the method call with a delay.

See Also:
Serialized Form

Constructor Summary
DeadlockException()
           
DeadlockException(java.lang.String message)
           
DeadlockException(java.lang.String message, java.lang.Throwable cause)
           
DeadlockException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class net.sf.jzeno.exception.ManagedRuntimeException
causedByManagedException
 
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

DeadlockException

public DeadlockException()

DeadlockException

public DeadlockException(java.lang.Throwable cause)

DeadlockException

public DeadlockException(java.lang.String message,
                         java.lang.Throwable cause)

DeadlockException

public DeadlockException(java.lang.String message)