User: patriot1burke
Date: 02/02/13 15:20:38
Modified: src/main/org/jboss/ejb/plugins/lock BeanLockSupport.java
Log:
added ApplicationDeadlockException
Revision Changes Path
1.12 +3 -3 jboss/src/main/org/jboss/ejb/plugins/lock/BeanLockSupport.java
Index: BeanLockSupport.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/lock/BeanLockSupport.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- BeanLockSupport.java 12 Jan 2002 21:14:28 -0000 1.11
+++ BeanLockSupport.java 13 Feb 2002 23:20:38 -0000 1.12
@@ -24,7 +24,7 @@
*
* @author <a href="[EMAIL PROTECTED]">Bill Burke</a>
* @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
*
* <p><b>Revisions:</b><br>
* <p><b>2001/07/29: marcf</b>
@@ -171,7 +171,7 @@
// This following is for deadlock detection
protected static HashMap waiting = new HashMap();
- public void deadlockDetection(Transaction miTx)
+ public void deadlockDetection(Transaction miTx) throws Exception
{
HashSet set = new HashSet();
set.add(miTx);
@@ -187,7 +187,7 @@
if (set.contains(waitingFor))
{
log.error("Application deadlock detected: " + miTx + " has deadlock
conditions");
- throw new RuntimeException("application deadlock detected");
+ throw new ApplicationDeadlockException("application deadlock
detected");
}
set.add(waitingFor);
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development