Exception doesn't have ctor (const char*) or (const std::string&). Please, check all similar statements for this error.