<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _check_exception(self):
 """if there's a saved exception, raise & clear it"""

        if self._saved_exception is not None:
            x = self._saved_exception
            self._saved_exception = None
            raise x