jfun.yan
Class UnresolvedComponentException

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.UnresolvedComponentException
All Implemented Interfaces:
java.io.Serializable

public class UnresolvedComponentException
extends ComponentResolutionException

Represents exception when a component cannot be resolved.

Codehaus.org.

Author:
Ben Yu
See Also:
Serialized Form

Constructor Summary
UnresolvedComponentException(java.lang.Object k)
          Create an UnresolvedComponentException object.
UnresolvedComponentException(java.lang.Object k, java.lang.String msg)
          Create an UnresolvedComponentException 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

UnresolvedComponentException

public UnresolvedComponentException(java.lang.Object k,
                                    java.lang.String msg)
Create an UnresolvedComponentException object.

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

UnresolvedComponentException

public UnresolvedComponentException(java.lang.Object k)
Create an UnresolvedComponentException object.

Parameters:
k - the component key.
Method Detail

getComponentKey

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

Returns:
the component key.