mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 06:10:34 +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;
|
||
|
}
|
||
|
|
||
|
}
|