set_exception, quickly set an exception