Look at the exception class definition you posted. Is there a constructor that takes a string as an argument?no matching function for call to `std::exception::exception(const char[33])'
Another candidate would be the default exception constructor. So, you can either throw an exception object created with the default exception constructor, or you have to derive your own class from the exception class and throw an object from that class(which would have the type exception&).note: candidates are: std::exception::exception(const std::exception&)