mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-12 00:59:16 +05:00
34 lines
698 B
C++
34 lines
698 B
C++
|
/**************************************************************************/
|
||
|
/* File: ngexception.cpp */
|
||
|
/* Author: Joachim Schoeberl */
|
||
|
/* Date: 16. Jan. 02 */
|
||
|
/**************************************************************************/
|
||
|
|
||
|
#include <myadt.hpp>
|
||
|
|
||
|
namespace netgen
|
||
|
{
|
||
|
//using namespace netgen;
|
||
|
|
||
|
|
||
|
|
||
|
NgException :: NgException (const string & s)
|
||
|
: what(s)
|
||
|
{
|
||
|
;
|
||
|
}
|
||
|
|
||
|
|
||
|
NgException :: ~NgException ()
|
||
|
{
|
||
|
;
|
||
|
}
|
||
|
|
||
|
/// append string to description
|
||
|
void NgException :: Append (const string & s)
|
||
|
{
|
||
|
what += s;
|
||
|
}
|
||
|
|
||
|
}
|