Boost Exception

throw_exception

Please see Boost.ThrowException.