| org.jicarilla.container.JicarillaException org.jicarilla.container.InitializationException org.jicarilla.container.JicarillaInstantiationException org.jicarilla.container.UnsatisfiableDependencyException
All known Subclasses: org.jicarilla.container.NoSatisfiableConstructorAvailableException,
UnsatisfiableDependencyException | public class UnsatisfiableDependencyException extends JicarillaInstantiationException (Code) | | Exception that is thrown when an
Adapter or
Factory cannot create an instance because the instance has a dependency that
cannot be satisfied.
author: Leo Simons version: $Id: UnsatisfiableDependencyException.java,v 1.8 2004/02/29 19:21:35 lsimons Exp $ |
Constructor Summary | |
public | UnsatisfiableDependencyException(Class clazz, Set unsatisfiedDependencies) Create a new instance identifying the specified class as the problem
because the specified dependencies could not be provided. | public | UnsatisfiableDependencyException(Class clazz, Set unsatisfiedDependencies, String message) Create a new instance identifying the specified class as the problem
because the specified dependencies could not be provided, with the
specified custom message. |
m_problematicClass | final protected Class m_problematicClass(Code) | | the class of which no instance could be created.
|
m_unsatisfiedDependencies | final protected Set m_unsatisfiedDependencies(Code) | | the arguments that could not be provided to the constructor.
|
UnsatisfiableDependencyException | public UnsatisfiableDependencyException(Class clazz, Set unsatisfiedDependencies)(Code) | | Create a new instance identifying the specified class as the problem
because the specified dependencies could not be provided.
Parameters: clazz - the class of which no instance could be created. Parameters: unsatisfiedDependencies - the arguments that could not be providedto the constructor. |
UnsatisfiableDependencyException | public UnsatisfiableDependencyException(Class clazz, Set unsatisfiedDependencies, String message)(Code) | | Create a new instance identifying the specified class as the problem
because the specified dependencies could not be provided, with the
specified custom message.
Parameters: clazz - the class of which no instance could be created. Parameters: unsatisfiedDependencies - the arguments that could not be providedto the constructor. Parameters: message - the message containing a further description of theproblem. |
getProblematicClass | public Class getProblematicClass()(Code) | | Returns the class that could not be instantiated.
the class that could not be instantiated. |
getUnsatisfiedDependencies | public Set getUnsatisfiedDependencies()(Code) | | Returns the dependencies that could not be satisfied.
the dependencies that could not be satisfied. |
|
|