KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > lock > DeadlockException


1 // $Id: DeadlockException.java,v 1.2 2006/12/11 21:14:34 genman Exp $
2

3 /*
4  * JBoss, the OpenSource J2EE webOS
5  *
6  * Distributable under LGPL license.
7  * See terms of license at gnu.org.
8  * Created on Jan 18, 2003
9  */

10 package org.jboss.cache.lock;
11
12
13 /**
14  * Used when a lock acquisition would cause a deadlock. This will only be used
15  * once deadlock detection is in place.
16  *
17  * @author Bela Ban
18  * @version $Revision: 1.2 $
19  */

20 public class DeadlockException extends LockingException
21 {
22
23    private static final long serialVersionUID = 8651993450626741020L;
24
25    /**
26     * Constructor for DeadlockException.
27     *
28     * @param msg
29     */

30    public DeadlockException(String JavaDoc msg)
31    {
32       super(msg);
33    }
34
35    public DeadlockException(String JavaDoc msg, Throwable JavaDoc cause)
36    {
37       super(msg, cause);
38    }
39
40
41 }
42
Popular Tags