@staticmethod
def _verify(start, end):
    """Throws ValueError if the range is not consistent."""
    if start > end:
        raise ValueError('start %s must not be greater than end %s' % (
            start, end))
