def raise_exception(self, exception, tup=None):
if tup:<EOL><INDENT>message = (<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>)<EOL><DEDENT>else:<EOL><INDENT>message = "<STR_LIT>"<EOL><DEDENT>message = message.format(<EOL>exception_name=exception.__class__.__name__, tup=tup, traceback=format_exc()<EOL>)<EOL>self.send_message({"<STR_LIT>": "<STR_LIT:error>", "<STR_LIT>": str(message)})<EOL>self.send_message({"<STR_LIT>": "<STR_LIT>"})<EOL>
Report an exception back to Storm via logging.

        :param exception: a Python exception.
        :param tup: a :class:`Tuple` object.