renamed WrongDefinitionTypeException to ExpressionTypeNotSupportedException