2009-01-12 23:40:13 +00: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 13:59:16 +02:00
|
|
|
: m_what(s)
|
2009-01-12 23:40:13 +00:00
|
|
|
{
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
NgException :: ~NgException ()
|
|
|
|
{
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// append string to description
|
|
|
|
void NgException :: Append (const string & s)
|
|
|
|
{
|
2017-08-24 13:59:16 +02:00
|
|
|
m_what += s;
|
2009-01-12 23:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|