-// Copyright (C) 2007-2015 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
{
public:
Exception(const std::string& reason);
+ Exception(const char *reason);
+ 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