1 #ifndef __JLANG__JTHROW__
2 #define __JLANG__JTHROW__
16 namespace JPP {
using namespace JLANG; }
37 static void Throw(
const bool option)
58 cerr << error.
what() << endl;
Auxiliary base class for controling the throwing of exceptions.
static int Throw(const JException &error, const int value=-1)
Throw exception or return error.
static bool do_throw
throw option
virtual const char * what() const
Get error message.
static void Throw(const bool option)
Enable/disable throw option.