|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
nz.org.venice.parser.ExpressionException
nz.org.venice.parser.TypeMismatchException
An exception which is thrown when there is a type mismatch error
when executing an expression. A type mismatch error is when
an incorrect type was supplied. For example if the expression required
a BOOLEAN_TYPE and a VALUE_TYPE was given
instead.
Expression,
Serialized Form| Constructor Summary | |
TypeMismatchException()
Create a new type mismatch exception. |
|
TypeMismatchException(Expression expression,
int type,
int expectedType)
Create a new type mismatch exception where the message text explains what caused the type mismatch. |
|
TypeMismatchException(Expression expression,
java.lang.String type,
java.lang.String expectedTypes)
Create a new type mismatch exception where the message text explains what caused the type mismatch. |
|
| Methods inherited from class nz.org.venice.parser.ExpressionException |
getReason, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TypeMismatchException()
public TypeMismatchException(Expression expression,
java.lang.String type,
java.lang.String expectedTypes)
expression - The expression object which throws the exceptiontype - A string list where the items are the types of the
expression.expectedTypes - A string list where the items are the types the
expected by the expression.
public TypeMismatchException(Expression expression,
int type,
int expectedType)
expression - The expression object which throws the exceptiontype - The type of the expression.expectedType - The type expected by the expression.
|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||