2009-01-13 04:40:13 +05:00
|
|
|
/**************************************************************************/
|
|
|
|
/* File: ngexception.cpp */
|
|
|
|
/* Author: Joachim Schoeberl */
|
|
|
|
/* Date: 16. Jan. 02 */
|
|
|
|
/**************************************************************************/
|
|
|
|
|
|
|
|
#include <myadt.hpp>
|
|
|
|
|
|
|
|
namespace netgen
|
|
|
|
{
|
|
|
|
//using namespace netgen;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NgException :: NgException (const string & s)
|
2017-08-24 16:59:16 +05:00
|
|
|
: m_what(s)
|
2009-01-13 04:40:13 +05:00
|
|
|
{
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
NgException :: ~NgException ()
|
|
|
|
{
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// append string to description
|
|
|
|
void NgException :: Append (const string & s)
|
|
|
|
{
|
2017-08-24 16:59:16 +05:00
|
|
|
m_what += s;
|
2009-01-13 04:40:13 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|