1 #ifndef EXCEPTION_HH_INCLUDED 
    2 #define EXCEPTION_HH_INCLUDED 
   38   virtual const char* 
what() 
const throw() 
 
   52     return out << exception.
what();
 
   65     static std::ostringstream 
buffer;
 
   84 #define THROW(Exception_t, A) do { throw Exception_t(static_cast<std::ostringstream&>(Exception::getOstream() << __FILE__ << ':' << __LINE__ << std::endl << A).str()); } while(0) 
Exception(const std::string &error)
Constructor. 
 
virtual const char * what() const 
Get error message. 
 
friend std::ostream & operator<<(std::ostream &out, const Exception &exception)
Print error message of JException. 
 
static std::ostream & getOstream()
Get output stream for conversion of exception.