Lines Matching refs:exc
98 exc = self._exception
102 'exception': exc,
136 exc = exceptions.CancelledError()
138 exc = exceptions.CancelledError(self._cancel_message)
139 exc.__context__ = self._cancelled_exc
142 return exc
195 exc = self._make_cancelled_error()
196 raise exc
213 exc = self._make_cancelled_error()
214 raise exc
315 def _convert_future_exc(exc): argument
316 exc_class = type(exc)
318 return exceptions.CancelledError(*exc.args)
320 return exceptions.TimeoutError(*exc.args)
322 return exceptions.InvalidStateError(*exc.args)
324 return exc