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 bool do_throw
throw option 
 
static void Throw(const bool option)
Enable/disable throw option.