'If there was an exception, raise it now.
Raises:
Exception of the API call or the callback, if any.'

def CheckSuccess(self):

    if (self.exception and self._traceback):
        raise self.exception.__class__, self.exception, self._traceback
    elif self.exception:
        raise self.exception
