org.jboss.util.deadlock
Class ApplicationDeadlockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.util.deadlock.ApplicationDeadlockException
- All Implemented Interfaces:
- java.io.Serializable
- public class ApplicationDeadlockException
- extends java.lang.RuntimeException
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.
- See Also:
- Serialized Form
Field Summary |
protected boolean |
retry
|
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 |
retry
protected boolean retry
ApplicationDeadlockException
public ApplicationDeadlockException()
ApplicationDeadlockException
public ApplicationDeadlockException(java.lang.String msg,
boolean retry)
retryable
public boolean retryable()
isADE
public static ApplicationDeadlockException (src) isADE(java.lang.Throwable t)
- Detects exception contains is or a ApplicationDeadlockException.