Custom version of decrator ProtectTaurusMessageBox that generates TaurusMessageBox for each error separately and thus avoids error messages overlapping.
More...
Custom version of decrator ProtectTaurusMessageBox that generates TaurusMessageBox for each error separately and thus avoids error messages overlapping.
The idea of this class is to be used as a decorator on any method you wish to protect against exceptions. The handle of the exception is to display a :class:TaurusMessageBox with the exception information. The optional parameter title gives the window bar a customized title. The optional parameter msg allows you to give a customized message in the dialog.
Unlike ProtectTaurusMessageBox, no single, global _PROTECT_MESSAGE_BOX is used, but new TaurusMessageBox is created every time an error occurs (_PROTECT_MESSAGE_BOX's CheckBoxState is used though to control message box appearance)