public final class TypeMismatchException
extends java.lang.Exception
| Constructor and Description |
|---|
TypeMismatchException(NameIdentifier expected,
NameIdentifier gotten)
Creates the TypeMismatchException
|
| Modifier and Type | Method and Description |
|---|---|
NameIdentifier |
getExpected()
Gets expected
|
NameIdentifier |
getGotten()
Gets gotten
|
public TypeMismatchException(NameIdentifier expected, NameIdentifier gotten)
expected - the name of the expected typegotten - the name of the type actually obtainedpublic final NameIdentifier getExpected()
public final NameIdentifier getGotten()