jfun.yan
Class IrresolveableArgumentException

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
                          extended by jfun.yan.IrresolveableArgumentException
All Implemented Interfaces:
java.io.Serializable

public class IrresolveableArgumentException
extends UnsatisfiedComponentException

Represents an exception when a parameter of a component cannot be resolved.

Codehaus.org.

Author:
Ben Yu
See Also:
Serialized Form

Constructor Summary
IrresolveableArgumentException(java.lang.Object ckey, int num, java.lang.Class type)
          Create an IrresolveableArgumentException object.
 
Method Summary
 int getOrdinalPosition()
          Get the ordinal position of the parameter.
 java.lang.Class getParameterType()
          Get the expected parameter type.
 
Methods inherited from class jfun.yan.UnsatisfiedComponentException
getComponentKey
 
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

IrresolveableArgumentException

public IrresolveableArgumentException(java.lang.Object ckey,
                                      int num,
                                      java.lang.Class type)
Create an IrresolveableArgumentException object.

Parameters:
ckey - the component key.
num - the ordinal position of the parameter.
type - the type of the parameter.
Method Detail

getOrdinalPosition

public int getOrdinalPosition()
Get the ordinal position of the parameter.

Returns:
the ordinal position of the parameter.

getParameterType

public java.lang.Class getParameterType()
Get the expected parameter type.

Returns:
the parameter type.