]> SALOME platform Git repositories - tools/solverlab.git/blob - CDMATH/base/src/CdmathException.cxx
Salome HOME
initial project version
[tools/solverlab.git] / CDMATH / base / src / CdmathException.cxx
1 #include "CdmathException.hxx"
2
3 using namespace std;
4
5 CdmathException::CdmathException(std::string reason):_reason(reason)
6 {
7 }
8
9 CdmathException::CdmathException(std::string reason, std::string file, int line):_reason(reason)
10 {
11 }
12
13 CdmathException::~CdmathException() throw ()
14 {
15 }
16
17 const char *CdmathException::what() const throw()
18 {
19   return _reason.c_str();
20 }