// $Id: UpgradeException.java,v 1.2 2004/01/28 01:39:38 bwang00 Exp $

/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 * Created on Jan 18, 2003
 */
package org.jboss.cache.lock;


/**
 * Used when a read-lock cannot be upgraded to a write-lock
 *
 * @author Bela Ban
 * @version $Revision: 1.2 $
 */
public class UpgradeException extends LockingException
{

   /**
    * Constructor for UpgradeException.
    *
    * @param msg
    */
   public UpgradeException(String msg)
   {
      super(msg);
   }

   public UpgradeException(String msg, Throwable cause)
   {
      super(msg, cause);
   }

}