695 @param stackTrace list of stack entries (list of string) |
695 @param stackTrace list of stack entries (list of string) |
696 """ |
696 """ |
697 self .__clientError() |
697 self .__clientError() |
698 |
698 |
699 if Preferences.getDebugger("ShowExceptionInShell"): |
699 if Preferences.getDebugger("ShowExceptionInShell"): |
700 if exceptionType is not None: |
700 if exceptionType: |
701 if stackTrace: |
701 if stackTrace: |
702 self.__write( |
702 self.__write( |
703 self.tr('Exception "{0}"\n{1}\nFile: {2}, Line: {3}\n') |
703 self.tr('Exception "{0}"\n{1}\nFile: {2}, Line: {3}\n') |
704 .format( |
704 .format( |
705 exceptionType, |
705 exceptionType, |