1 // $Id: UpgradeException.java,v 1.2 2006/12/11 21:14:34 genman Exp $2 3 /*4 * JBoss, the OpenSource J2EE webOS5 *6 * Distributable under LGPL license.7 * See terms of license at gnu.org.8 * Created on Jan 18, 20039 */10 package org.jboss.cache.lock;11 12 13 /**14 * Used when a read-lock cannot be upgraded to a write-lock15 *16 * @author Bela Ban17 * @version $Revision: 1.2 $18 */19 public class UpgradeException extends LockingException20 {21 22 private static final long serialVersionUID = -5683212651728276028L;23 24 /**25 * Constructor for UpgradeException.26 *27 * @param msg28 */29 public UpgradeException(String msg)30 {31 super(msg);32 }33 34 public UpgradeException(String msg, Throwable cause)35 {36 super(msg, cause);37 }38 39 }40