org.picocontainer.defaults
Class UnsatisfiableDependenciesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.picocontainer.PicoException
                  extended by org.picocontainer.PicoIntrospectionException
                      extended by org.picocontainer.defaults.UnsatisfiableDependenciesException
All Implemented Interfaces:
Serializable

public class UnsatisfiableDependenciesException
extends PicoIntrospectionException

Exception thrown when some of the component's dependencies are not satisfiable.

Version:
$Revision: 2838 $
Author:
Aslak Hellesøy, Mauro Talevi
See Also:
Serialized Form

Constructor Summary
UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter, Class unsatisfiedDependencyType, Set unsatisfiableDependencies, PicoContainer leafContainer)
           
UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter, Set unsatisfiableDependencies, PicoContainer leafContainer)
           
 
Method Summary
 PicoContainer getLeafContainer()
           
 ComponentAdapter getUnsatisfiableComponentAdapter()
           
 Set getUnsatisfiableDependencies()
           
 Class getUnsatisfiedDependencyType()
           
 
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

UnsatisfiableDependenciesException

public UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter,
                                          Set unsatisfiableDependencies,
                                          PicoContainer leafContainer)

UnsatisfiableDependenciesException

public UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter,
                                          Class unsatisfiedDependencyType,
                                          Set unsatisfiableDependencies,
                                          PicoContainer leafContainer)
Method Detail

getUnsatisfiableComponentAdapter

public ComponentAdapter getUnsatisfiableComponentAdapter()

getUnsatisfiableDependencies

public Set getUnsatisfiableDependencies()

getUnsatisfiedDependencyType

public Class getUnsatisfiedDependencyType()

getLeafContainer

public PicoContainer getLeafContainer()


Copyright © 2003-2010 Codehaus. All Rights Reserved.