how to throw string exception in c++ code example Example: cpp throw string throw std::string("message");