Clover coverage report - picocontainer - 1.2-beta-1
Coverage timestamp: Sun May 29 2005 14:29:04 BST
file stats: LOC: 35   Methods: 3
NCLOC: 18   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
TooManySatisfiableConstructorsException.java - 100% 100% 100%
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.defaults;
 12   
 13    import org.picocontainer.PicoIntrospectionException;
 14   
 15    import java.util.Collection;
 16   
 17    public class TooManySatisfiableConstructorsException extends PicoIntrospectionException {
 18   
 19    private Class forClass;
 20    private Collection constructors;
 21   
 22  2 public TooManySatisfiableConstructorsException(Class forClass, Collection constructors) {
 23  2 super( "Too many satisfiable constructors:" + constructors.toString());
 24  2 this.forClass = forClass;
 25  2 this.constructors = constructors;
 26    }
 27   
 28  2 public Class getForImplementationClass() {
 29  2 return forClass;
 30    }
 31   
 32  2 public Collection getConstructors() {
 33  2 return constructors;
 34    }
 35    }