HWRF
trunk@4391
|
Base class of the exceptions thrown when a signal is caught. More...
Base class of the exceptions thrown when a signal is caught.
Note that this does not derive from Exception, to ensure it is not caught accidentally. At present, it derives directly from KeyboardInterrupt, though that may be changed in the future to BaseException.
Definition at line 58 of file sigsafety.py.
Public Member Functions | |
def | __init__ (self, signum) |
CaughtSignal constructor. More... | |
def | __str__ (self) |
A string description of this error. More... | |
Public Attributes | |
signum | |
The integer signal number. More... | |
def produtil.sigsafety.CaughtSignal.__init__ | ( | self, | |
signum | |||
) |
CaughtSignal constructor.
signum | the signal that was caught (an int) |
Definition at line 64 of file sigsafety.py.
def produtil.sigsafety.CaughtSignal.__str__ | ( | self | ) |
A string description of this error.
Definition at line 72 of file sigsafety.py.
produtil.sigsafety.CaughtSignal.signum |
The integer signal number.
Definition at line 68 of file sigsafety.py.
Referenced by produtil.sigsafety.CaughtSignal.__str__().