Clover coverage report - PicoContainer - 1.0
Coverage timestamp: Sat Jun 5 2004 21:34:14 EDT
file stats: LOC: 57   Methods: 4
NCLOC: 14   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
PicoRegistrationException.java - 33.3% 50% 42.9%
coverage coverage
 1   
 /*****************************************************************************
 2   
  * Copyright (c) PicoContainer Organization. All rights reserved.            *
 3   
  * ------------------------------------------------------------------------- *
 4   
  * The software in this package is published under the terms of the BSD      *
 5   
  * style license a copy of which has been included with this distribution in *
 6   
  * the LICENSE.txt file.                                                     *
 7   
  *                                                                           *
 8   
  * Idea by Rachel Davies, Original code by Aslak Hellesoy and Paul Hammant   *
 9   
  *****************************************************************************/
 10   
 
 11   
 package org.picocontainer;
 12   
 
 13   
 /**
 14   
  * Subclass of {@link PicoException} that is thrown when there is a problem registering a component with the container
 15   
  * or another part of the PicoContainer API, for example, when a request for a component is ambiguous.
 16   
  * 
 17   
  * @version $Revision$
 18   
  * @since 1.0
 19   
  */
 20   
 public class PicoRegistrationException extends PicoException {
 21   
     /**
 22   
      * Construct a new exception with no cause and no detail message. Note modern JVMs may still track the exception
 23   
      * that caused this one.
 24   
      */
 25  11
     protected PicoRegistrationException() {
 26   
     }
 27   
 
 28   
     /**
 29   
      * Construct a new exception with no cause and the specified detail message.  Note modern JVMs may still track the
 30   
      * exception that caused this one.
 31   
      *
 32   
      * @param message the message detailing the exception.
 33   
      */
 34  18
     public PicoRegistrationException(final String message) {
 35  18
         super(message);
 36   
     }
 37   
 
 38   
     /**
 39   
      * Construct a new exception with the specified cause and no detail message.
 40   
      * 
 41   
      * @param cause the exception that caused this one.
 42   
      */
 43  0
     protected PicoRegistrationException(final Throwable cause) {
 44  0
         super(cause);
 45   
     }
 46   
 
 47   
     /**
 48   
      * Construct a new exception with the specified cause and the specified detail message.
 49   
      *
 50   
      * @param message the message detailing the exception.
 51   
      * @param cause   the exception that caused this one.
 52   
      */
 53  0
     protected PicoRegistrationException(final String message, final Throwable cause) {
 54  0
         super(message, cause);
 55   
     }
 56   
 }
 57