jfun.yan
Class IrresolveableArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jfun.yan.YanException
jfun.yan.ComponentResolutionException
jfun.yan.UnsatisfiedComponentException
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. |
| 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 |
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.
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.