X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Data.h;h=4e96a5be5c65e126cc2352ca2fc2f07e72904e44;hb=9b0703c45ab066f8421c72865b1b701f5c169860;hp=93de6977de7bb6cd633575d623c99ecb60a3d36f;hpb=f22a65689fa8bb54274a23f0f974fc538e4a22ab;p=modules%2Fshaper.git diff --git a/src/Model/Model_Data.h b/src/Model/Model_Data.h index 93de6977d..4e96a5be5 100644 --- a/src/Model/Model_Data.h +++ b/src/Model/Model_Data.h @@ -163,7 +163,10 @@ class Model_Data : public ModelAPI_Data MODEL_EXPORT virtual ModelAPI_ExecState execState(); /// Registers error during the execution, causes the ExecutionFailed state - MODEL_EXPORT virtual void setError(const std::string& theError); + MODEL_EXPORT virtual void setError(const std::string& theError, bool theSend = true); + + /// Registers error during the execution, causes the ExecutionFailed state + MODEL_EXPORT virtual std::string error() const; /// Returns the identifier of feature-owner, unique in this document MODEL_EXPORT virtual int featureId() const;