Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 39   Methods: 2
NCLOC: 13   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
UpgradeException.java - 100% 100% 100%
coverage
 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  2 public UpgradeException(String msg)
 30    {
 31  2 super(msg);
 32    }
 33   
 34  3 public UpgradeException(String msg, Throwable cause)
 35    {
 36  3 super(msg, cause);
 37    }
 38   
 39    }