def and_raise_future(self, exception):
        """Similar to `and_raise` but the doubled method returns a future.

        :param Exception exception: The exception to raise.
        """
        future = _get_future()
        future.set_exception(exception)
        return self.and_return(future)