Salome HOME
updated copyright message
[modules/kernel.git] / src / SALOMESDS / SALOMESDS_Exception.hxx
index 61b77f33a86f5438cbc061207a3aa57769275504..7ccc65edb0e5e302f36050e586102e78bf276c4c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -38,6 +38,13 @@ namespace SALOMESDS
   private:
     void assign(const char *reason);
   };
+
+   class SALOMESDS_EXPORT NotSameException : public Exception
+   {
+   public:
+     NotSameException(const std::string& reason):Exception(reason) { }
+     NotSameException(const char *reason):Exception(reason) { }
+   };
 }
 
 #endif