def raise_error(self, e, exc_info=None):
if not exc_info:<EOL><INDENT>exc_info = sys.exc_info()<EOL><DEDENT>if not isinstance(e, InterfaceError):<EOL><INDENT>if not hasattr(builtins, e.__class__.__name__):<EOL><INDENT>e = self._create_error(e, exc_info)<EOL><DEDENT><DEDENT>reraise(e.__class__, e, exc_info[<NUM_LIT:2>])<EOL>
this is just a wrapper to make the passed in exception an InterfaceError