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