|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
DeadlockException.java | - | 0% | 0% | 0% |
|
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 | 0 | public DeadlockException(String msg) |
31 | { | |
32 | 0 | super(msg); |
33 | } | |
34 | ||
35 | 0 | public DeadlockException(String msg, Throwable cause) |
36 | { | |
37 | 0 | super(msg, cause); |
38 | } | |
39 | ||
40 | ||
41 | } |
|