jfun.yan
Class UnsatisfiedComponentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jfun.yan.YanException
                  extended by jfun.yan.ComponentResolutionException
                      extended by jfun.yan.UnsatisfiedComponentException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IrresolveableArgumentException, IrresolveablePropertyException

public class UnsatisfiedComponentException
extends ComponentResolutionException

Represents an exception when a component's dependency cannot be satisfied.

Codehaus.org.

Author:
Ben Yu
See Also:
Serialized Form

Constructor Summary
UnsatisfiedComponentException(java.lang.Object k)
          Create a UnsatisfiedComponentException object.
UnsatisfiedComponentException(java.lang.Object k, java.lang.String msg)
          Create a UnsatisfiedComponentException object.
 
Method Summary
 java.lang.Object getComponentKey()
          Get the component key.
 
Methods inherited from class jfun.yan.YanException
clearResolutionTrace, getResolutionTrace, printResolutionTrace, printResolutionTrace, printResolutionTrace, printStackTrace, printStackTrace, push
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsatisfiedComponentException

public UnsatisfiedComponentException(java.lang.Object k,
                                     java.lang.String msg)
Create a UnsatisfiedComponentException object.

Parameters:
k - the component key.
msg - the error message.

UnsatisfiedComponentException

public UnsatisfiedComponentException(java.lang.Object k)
Create a UnsatisfiedComponentException object.

Parameters:
k - the component key.
Method Detail

getComponentKey

public java.lang.Object getComponentKey()
Get the component key.

Returns:
the component key.