浏览代码

Merge pull request #14265 from kenrowland/HPCC-24906

HPCC-24906 Build error in config manager

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 4 年之前
父节点
当前提交
6b94bb5b03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configuration/configmgr/configmgrlib/SchemaValue.cpp

+ 1 - 1
configuration/configmgr/configmgrlib/SchemaValue.cpp

@@ -112,7 +112,7 @@ void SchemaValue::validate(Status &status, const std::string &id, const Environm
     if (pEnvValue == nullptr)
     {
         std::string msg = "Attempt to validate schema value w/o an environment value.";
-        throw(std::runtime_error(msg));
+        throw(ParseException(msg));
     }
 
     //