1 10 11 package org.picocontainer.defaults; 12 13 import org.picocontainer.PicoRegistrationException; 14 15 19 public class NotConcreteRegistrationException extends PicoRegistrationException { 20 private final Class componentImplementation; 21 22 public NotConcreteRegistrationException(Class componentImplementation) { 23 super("Bad Access: '" + componentImplementation.getName() + "' is not instantiable"); 24 this.componentImplementation = componentImplementation; 25 } 26 27 public Class getComponentImplementation() { 28 return componentImplementation; 29 } 30 } 31 | Popular Tags |