|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.picocontainer.PicoException
org.picocontainer.PicoRegistrationException
org.picocontainer.defaults.AssignabilityRegistrationException
public class AssignabilityRegistrationException
A subclass of PicoRegistrationException
that is thrown during component registration if the
component's key is a type and the implementation is not assignable to.
Constructor Summary | |
---|---|
AssignabilityRegistrationException(java.lang.Class type,
java.lang.Class clazz)
Construct an exception with the type and the unassignable class. |
Method Summary |
---|
Methods inherited from class org.picocontainer.PicoException |
---|
getCause, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssignabilityRegistrationException(java.lang.Class type, java.lang.Class clazz)
type
- the type used as component keyclazz
- the unassignable implementation class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |