96 @param exceptionMessage message given by the exception (string) |
96 @param exceptionMessage message given by the exception (string) |
97 @param stackTrace list of stack entries. |
97 @param stackTrace list of stack entries. |
98 """ |
98 """ |
99 itm = QTreeWidgetItem(self) |
99 itm = QTreeWidgetItem(self) |
100 if exceptionType is None: |
100 if exceptionType is None: |
101 itm.setText(0, |
101 itm.setText( |
102 self.trUtf8('An unhandled exception occured.' |
102 0, self.trUtf8('An unhandled exception occured.' |
103 ' See the shell window for details.')) |
103 ' See the shell window for details.')) |
104 return |
104 return |
105 |
105 |
106 if exceptionMessage == '': |
106 if exceptionMessage == '': |
107 itm.setText(0, "{0}".format(exceptionType)) |
107 itm.setText(0, "{0}".format(exceptionType)) |
108 else: |
108 else: |