def require_not_none(*values):
    """
    Checks that the specified objects references is not None and throws a
    :py:class:`ValueError` if it is.

    :param values: The objects.
    :type values: list(object)
    """
    for value in values:
        if value is None:
            raise ValueError()
