当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
ApplicationDeadlockException (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
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:
- Serializable
- public class ApplicationDeadlockException
- extends 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.
- Version:
- $Revision: 1.3 $
Revisions:
2002/02/13: billb
- Initial revision
- Author:
- Bill Burke
- 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 |
retry
protected boolean retry
ApplicationDeadlockException
public ApplicationDeadlockException()
ApplicationDeadlockException
public ApplicationDeadlockException(String msg,
boolean retry)
retryable
public boolean retryable()
isADE
public static ApplicationDeadlockException isADE(Throwable t)
- Detects exception contains is or a ApplicationDeadlockException.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.