def set_remote_exception(self, remote_exc_info):
    'Raises an exception as a :exc:`RemoteException`.'
    (exc_type, exc_str, filename, lineno) = remote_exc_info[:4]
    exc_type = RemoteException.compose(exc_type)
    exc = exc_type(exc_str, filename, lineno, self.worker_info)
    if (len(remote_exc_info) > 4):
        state = remote_exc_info[4]
        exc.__setstate__(state)
    self.set_exception(exc)
Raises an exception as a :exc:`RemoteException`.
def set_remote_exception(self, remote_exc_info):
    
    (exc_type, exc_str, filename, lineno) = remote_exc_info[:4]
    exc_type = RemoteException.compose(exc_type)
    exc = exc_type(exc_str, filename, lineno, self.worker_info)
    if (len(remote_exc_info) > 4):
        state = remote_exc_info[4]
        exc.__setstate__(state)
    self.set_exception(exc)