KickJava   Java API By Example, From Geeks To Geeks.

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


1 // $Id: UpgradeException.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 read-lock cannot be upgraded to a write-lock
15  *
16  * @author Bela Ban
17  * @version $Revision: 1.2 $
18  */

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

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