public void reportTypeError(String msg,
                                    TozeToken token, SpecObject specObject, String property)
        {
            if (specObject != null && token != null)
                {
                token.setErrorType(ErrorType.TypeError);
                token.setDescription(msg);
                specObject.setErrorForProperty(property, token);
                errors.add(token);
                }
        }