Package mdp :: Class FlowExceptionCR
[hide private]
[frames] | no frames]

Class FlowExceptionCR


Class to handle flow-crash recovery
Instance Methods [hide private]
 
__init__(self, *args)
Allow crash recovery.

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

    Inherited from CrashRecoveryException
 
dump(self, filename=None)
Save a pickle dump of the crashing object on filename. If filename is None, the crash dump is saved on a file created by the tempfile module. Return the filename.
Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

 

Allow crash recovery.

Arguments: (error_string, flow_instance, parent_exception) The triggering parent exception is kept in self.parent_exception. If flow_instance._crash_recovery is set, save a crash dump of flow_instance on the file self.filename

Overrides: object.__init__