0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / DDocStd / DDocStd_ToolsCommands.cxx
index aefe5e7..9d92585 100644 (file)
@@ -80,7 +80,7 @@ static Standard_Integer DDocStd_DumpCommand (Draw_Interpretor& di,
       else if (AD->IsKind(STANDARD_TYPE(TDF_DeltaOnRemoval)))      {removed.Append(AD);}
       else if (AD->IsKind(STANDARD_TYPE(TDF_DeltaOnModification))) {modified.Append(AD);}
       else {
-       Standard_DomainError::Raise("DDocStd_DumpCommand : unknown delta");
+       throw Standard_DomainError("DDocStd_DumpCommand : unknown delta");
       }
     }
     //