站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 common API Documentation 英文版文档

ApplicationDeadlockException (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档


org.jboss.util.deadlock
Class ApplicationDeadlockException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.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.1.2.2 $

Revisions:

2002/02/13: billb

  1. Initial revision
Author:
Bill Burke
See Also:
Serialized Form

Field Summary
protected static Method getCause
          for jdk 1.4/1.3 compatibility
protected  boolean retry
           
 
Constructor Summary
ApplicationDeadlockException()
           
ApplicationDeadlockException(String msg, boolean retry)
           
 
Method Summary
static ApplicationDeadlockException isADE(Throwable t)
          This should only be called by JDK 1.4 or higher applications.
 boolean retryable()
           
 
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
 

Field Detail

retry

protected boolean retry

getCause

protected static Method getCause
for jdk 1.4/1.3 compatibility

Constructor Detail

ApplicationDeadlockException

public ApplicationDeadlockException()

ApplicationDeadlockException

public ApplicationDeadlockException(String msg,
                                    boolean retry)
Method Detail

retryable

public boolean retryable()

isADE

public static ApplicationDeadlockException isADE(Throwable t)
This should only be called by JDK 1.4 or higher applications. Detects exception contains is or a ApplicationDeadlockException.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.