678 @param stackTrace list of stack entries (list of string) |
678 @param stackTrace list of stack entries (list of string) |
679 """ |
679 """ |
680 self .__clientError() |
680 self .__clientError() |
681 |
681 |
682 if Preferences.getDebugger("ShowExceptionInShell"): |
682 if Preferences.getDebugger("ShowExceptionInShell"): |
683 if exceptionType is not None: |
683 if exceptionType: |
684 if stackTrace: |
684 if stackTrace: |
685 self.__write( |
685 self.__write( |
686 self.tr('Exception "{0}"\n{1}\nFile: {2}, Line: {3}\n') |
686 self.tr('Exception "{0}"\n{1}\nFile: {2}, Line: {3}\n') |
687 .format( |
687 .format( |
688 exceptionType, |
688 exceptionType, |