Home
last modified time | relevance | path

Searched refs:set_exception (Results 1 – 25 of 36) sorted by relevance

12

/third_party/python/Lib/asyncio/
D__main__.py39 future.set_exception(ex)
42 future.set_exception(ex)
53 future.set_exception(exc)
Dtasks.py144 def set_exception(self, exception): member in Task
247 super().set_exception(exc)
250 super().set_exception(exc)
730 outer.set_exception(exc)
735 outer.set_exception(exc)
765 outer.set_exception(exc)
845 outer.set_exception(exc)
875 future.set_exception(exc)
Dwindows_events.py87 def set_exception(self, exception): member in _OverlappedFuture
88 super().set_exception(exception)
161 def set_exception(self, exception): member in _BaseWaitHandleFuture
163 super().set_exception(exception)
188 def set_exception(self, exception): member in _WaitCancelFuture
189 super().set_exception(exception)
745 f.set_exception(e)
819 f.set_exception(e)
Dstreams.py167 waiter.set_exception(exc)
253 reader.set_exception(exc)
258 self._closed.set_exception(exc)
422 def set_exception(self, exc): member in StreamReader
429 waiter.set_exception(exc)
Dfutures.py263 def set_exception(self, exception): member in Future
336 concurrent.set_exception(_convert_future_exc(exception))
356 dest.set_exception(_convert_future_exc(exception))
Dselector_events.py391 fut.set_exception(exc)
429 fut.set_exception(exc)
476 fut.set_exception(exc)
521 fut.set_exception(exc)
544 fut.set_exception(exc)
576 fut.set_exception(exc)
953 self._empty_waiter.set_exception(exc)
980 self._empty_waiter.set_exception(
Dsubprocess.py83 self._stdin_closed.set_exception(exc)
95 reader.set_exception(exc)
Dbase_subprocess.py189 waiter.set_exception(exc)
Dunix_events.py410 fut.set_exception(err)
413 fut.set_exception(exc)
418 fut.set_exception(exc)
Dbase_events.py237 self._write_ready_fut.set_exception(
240 self._write_ready_fut.set_exception(exc)
573 self.call_soon_threadsafe(future.set_exception, ex)
Dsslproto.py466 self._waiter.set_exception(exc)
/third_party/python/Lib/test/test_asyncio/
Dtest_futures.py71 def set_exception(self, exception): member in DuckFuture
185 fut.set_exception(Exception)
250 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
263 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
273 f.set_exception, StopIteration)
275 f.set_exception(exc)
281 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
286 f.set_exception(RuntimeError)
333 f_exception.set_exception(exc)
388 f_exception.set_exception(RuntimeError())
[all …]
Dtest_streams.py208 stream.set_exception(ValueError())
377 stream.set_exception(ValueError())
532 stream.set_exception(ValueError())
541 stream.set_exception(exc)
548 stream.set_exception(ValueError())
565 stream.set_exception(RuntimeError('message'))
868 stream.set_exception(exc)
Dtest_buffered_proto.py27 self.con_lost_fut.set_exception(exc)
Dtest_tasks.py1875 task.set_exception(ValueError())
2146 inner.set_exception(exc)
2950 Future.set_exception(task, MyExc())
3317 b.set_exception(exc)
3325 e.set_exception(RuntimeError())
3337 c.set_exception(exc)
3341 d.set_exception(exc2)
3447 e.set_exception(RuntimeError())
3458 b.set_exception(zde)
3465 f.set_exception(rte)
/third_party/python/Lib/concurrent/futures/
Dthread.py60 self.future.set_exception(exc)
214 work_item.future.set_exception(BrokenThreadPool(self._broken))
Dprocess.py178 work_item.future.set_exception(e)
416 work_item.future.set_exception(result_item.exception)
455 work_item.future.set_exception(bpe)
D_base.py542 def set_exception(self, exception): member in Future
/third_party/python/Doc/library/
Dasyncio-future.rst116 :meth:`set_exception` method, this method raises the exception.
131 .. method:: set_exception(exception)
144 :meth:`set_exception` calls.
Dasyncio-dev.rst199 If a :meth:`Future.set_exception` is called but the Future object is
Dconcurrent.futures.rst403 :meth:`Future.set_result` or :meth:`Future.set_exception` have been
419 .. method:: set_exception(exception)
/third_party/python/Lib/unittest/
Dasync_case.py108 fut.set_exception(ex)
/third_party/node/deps/v8/src/objects/
Dmodule.cc98 module->set_exception(*error); in RecordError()
101 module->set_exception(*isolate->factory()->null_value()); in RecordError()
/third_party/python/Lib/test/
Dtest_concurrent_futures.py1289 f.set_exception(Exception('test'))
1343 f.set_exception(Exception('test'))
1528 f.set_exception(e)
1535 f.set_exception(Exception())
/third_party/node/deps/v8/src/heap/
Dsetup-heap-internal.cc308 set_exception(roots.null_value()); in CreateInitialMaps()
739 set_exception(*factory->NewOddball(factory->exception_map(), "exception", in CreateInitialObjects()

12