def ParseFromString(self, string):
    self._value = 0
    if string:
      try:
        self._value = int(string)
      except __HOLE__ as e:
        raise DecodeError(e)
dataset/ETHPy150Open google/grr/grr/lib/rdfvalue.py/RDFInteger.ParseFromString