1 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 public TooManySatisfiableConstructorsException(Class forClass, Collection constructors) { 23 super( "Too many satisfiable constructors:" + constructors.toString()); 24 this.forClass = forClass; 25 this.constructors = constructors; 26 } 27 28 public Class getForImplementationClass() { 29 return forClass; 30 } 31 32 public Collection getConstructors() { 33 return constructors; 34 } 35 } 36 | Popular Tags |