684 Private method to extract the exception name given the exception |
684 Private method to extract the exception name given the exception |
685 type object. |
685 type object. |
686 |
686 |
687 @param exctype type of the exception |
687 @param exctype type of the exception |
688 """ |
688 """ |
689 return repr(exctype).replace("<class '", "").replace("'>", "") |
689 return str(exctype).replace("<class '", "").replace("'>", "") |
690 |
690 |
691 def __extract_stack(self, exctb): |
691 def __extract_stack(self, exctb): |
692 """ |
692 """ |
693 Private member to return a list of stack frames. |
693 Private member to return a list of stack frames. |
694 |
694 |