Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » util » deadlock » [javadoc | source]
org.jboss.util.deadlock
public class: ApplicationDeadlockException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.io.IOException
            java.rmi.RemoteException
               org.jboss.util.deadlock.ApplicationDeadlockException

All Implemented Interfaces:
    Serializable

This exception class is thrown when application deadlock is detected when trying to lock an entity bean This is probably NOT a result of a jboss bug, but rather that the application is access the same entity beans within 2 different transaction in a different order. Remember, with a PessimisticEJBLock, Entity beans are locked until the transaction commits or is rolled back.
Field Summary
protected  boolean retry     
Fields inherited from java.rmi.RemoteException:
detail
Constructor:
 public ApplicationDeadlockException() 
 public ApplicationDeadlockException(String msg,
    boolean retry) 
Method from org.jboss.util.deadlock.ApplicationDeadlockException Summary:
retryable
Methods from java.rmi.RemoteException:
getCause,   getMessage
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.util.deadlock.ApplicationDeadlockException Detail:
 public boolean retryable()