|
||||||||||
| 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
public class TypeMismatchException
Represents any type mismatch exception.
Codehaus.org.
| Constructor Summary | |
|---|---|
TypeMismatchException(java.lang.Class expected_type,
java.lang.Class actual_type)
Create a TypeMismatchException object. |
|
TypeMismatchException(java.lang.Class expected_type,
java.lang.Class actual_type,
java.lang.String msg)
Create a TypeMismatchException object. |
|
| Method Summary | |
|---|---|
java.lang.Class |
getActualType()
Get the actual argument type. |
java.lang.Class |
getExpectedType()
Get the expected type. |
| 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 TypeMismatchException(java.lang.Class expected_type,
java.lang.Class actual_type)
expected_type - the expected type.actual_type - the actual type.
public TypeMismatchException(java.lang.Class expected_type,
java.lang.Class actual_type,
java.lang.String msg)
expected_type - the expected type.actual_type - the actual type.msg - the error message.| Method Detail |
|---|
public java.lang.Class getActualType()
public java.lang.Class getExpectedType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||