|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jfun.yan.YanException
jfun.yan.TypeMismatchException
jfun.yan.ParameterTypeMismatchException
public class ParameterTypeMismatchException
Represents an exception when the type of the actual argument does not match the expected parameter type.
Codehaus.org.
| Constructor Summary | |
|---|---|
ParameterTypeMismatchException(java.lang.Object ckey,
Signature src,
int num,
java.lang.Class param_type,
java.lang.Class arg_type)
Create a ParameterTypeMismatchException object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getComponentKey()
Get the component key. |
int |
getOrdinalPosition()
Get the ordinal position of the parameter starting from 0. |
Signature |
getSource()
To get the signature of the method call that caused this error. |
| Methods inherited from class jfun.yan.TypeMismatchException |
|---|
getActualType, getExpectedType |
| 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 |
|---|
public ParameterTypeMismatchException(java.lang.Object ckey,
Signature src,
int num,
java.lang.Class param_type,
java.lang.Class arg_type)
ckey - the component key.src - the signature of the method call that caused this.num - the ordinal position of the parameter.param_type - the expected parameter type.arg_type - the type of the actual argument.| Method Detail |
|---|
public java.lang.Object getComponentKey()
public int getOrdinalPosition()
public Signature getSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||