'Parse C{value} as an integer and return the result or raise
L{IllegalServerResponse} with C{phrase} as an argument if C{value}
cannot be parsed as an integer.'

def _intOrRaise(self, value, phrase):

    try:
        return int(value)
    except ValueError:
        raise IllegalServerResponse(phrase)
