def _ex_type_str(exobj):  
regexp = re.compile(r"<STR_LIT>")<EOL>exc_type = str(exobj)<EOL>if regexp.match(exc_type):<EOL><INDENT>exc_type = regexp.match(exc_type).groups()[<NUM_LIT:0>]<EOL>exc_type = exc_type[<NUM_LIT:11>:] if exc_type.startswith("<STR_LIT>") else exc_type<EOL><DEDENT>if "<STR_LIT:.>" in exc_type:<EOL><INDENT>exc_type = str(exobj).split("<STR_LIT:'>")[<NUM_LIT:1>].split("<STR_LIT:.>")[-<NUM_LIT:1>]<EOL><DEDENT>return exc_type<EOL>
Return a string corresponding to the exception type.