Can we use `boost::throw_exception(...)` here?