52 @param msg message to be used by the exception (string) |
52 @param msg message to be used by the exception (string) |
53 """ |
53 """ |
54 if msg: |
54 if msg: |
55 self._errorMessage = msg |
55 self._errorMessage = msg |
56 else: |
56 else: |
57 self._errorMessage = \ |
57 self._errorMessage = QApplication.translate( |
58 QApplication.translate("PluginError", |
58 "PluginError", |
59 "Plugin paths not found or not creatable.") |
59 "Plugin paths not found or not creatable.") |
60 |
60 |
61 |
61 |
62 class PluginModulesError(PluginError): |
62 class PluginModulesError(PluginError): |
63 """ |
63 """ |
64 Class defining an error raised, when no plugin modules were found. |
64 Class defining an error raised, when no plugin modules were found. |