1 #ifndef __JLANG__JTHROW__
2 #define __JLANG__JTHROW__
16 namespace JPP {
using namespace JLANG; }
37 static void Throw(
const bool option)
50 template<
class JException_t>
51 static int Throw(
const JException_t& error,
const int value = -1)
59 cerr << error.what() << endl;
Auxiliary base class for controling the throwing of exceptions.
static int Throw(const JException_t &error, const int value=-1)
Throw exception or return error.
static void Throw(const bool option)
Enable/disable throw option.
static bool do_throw
throw option
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).