Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
ab.ThreadWithException Class Reference
Inheritance diagram for ab.ThreadWithException:

Public Member Functions

 __init__ (self, target)
 
 run (self)
 
 join (self, timeout=None)
 

Public Attributes

 exception
 

Protected Attributes

 _Thread__args
 
 _Thread__kwargs
 

Detailed Description

Definition at line 130 of file ab.py.

Constructor & Destructor Documentation

◆ __init__()

ab.ThreadWithException.__init__ (   self,
  target 
)

Definition at line 131 of file ab.py.

131 def __init__(self, target):
132 super(ThreadWithException, self).__init__(target = target)
133 self.exception = None
134

Member Function Documentation

◆ join()

ab.ThreadWithException.join (   self,
  timeout = None 
)

Definition at line 141 of file ab.py.

141 def join(self, timeout=None):
142 super(ThreadWithException, self).join(timeout)
143
144

◆ run()

ab.ThreadWithException.run (   self)

Definition at line 135 of file ab.py.

135 def run(self):
136 try:
137 self._Thread__target(*self._Thread__args, **self._Thread__kwargs)
138 except BaseException as e:
139 self.exception = e
140
Definition run.py:1

Member Data Documentation

◆ _Thread__args

ab.ThreadWithException._Thread__args
protected

Definition at line 137 of file ab.py.

◆ _Thread__kwargs

ab.ThreadWithException._Thread__kwargs
protected

Definition at line 137 of file ab.py.

◆ exception

ab.ThreadWithException.exception

Definition at line 133 of file ab.py.


The documentation for this class was generated from the following file: