parameters: (self, ei)
return_statement: return s
docstring: Format and return the specified exception information as a string.
  
          This default implementation just uses
          traceback.print_exception()
docstring_summary: Format and return the specified exception information as a string.
docstring_tokens: Format and return the specified exception information as a string .
function: def formatException(self, ei):
          """
          Format and return the specified exception information as a string.
  
          This default implementation just uses
          traceback.print_exception()
          """
          sio = cStringIO.StringIO()
          traceback.print_exception(ei[0], ei[1], ei[2], None, sio)
          s = sio.getvalue()
          sio.close()
          if s[-1:] == "\n":
              s = s[:-1]
          return s
function_tokens: def formatException ( self , ei ) : sio = cStringIO . StringIO ( ) traceback . print_exception ( ei [ 0 ] , ei [ 1 ] , ei [ 2 ] , None , sio ) s = sio . getvalue ( ) sio . close ( ) if s [ - 1 : ] == "\n" : s = s [ : - 1 ] return s