General exception.  
 More...
#include <JException.hh>
 | 
| static std::ostream &  | getOstream () | 
|   | Get output stream for conversion of exception.  More...
  | 
|   | 
General exception. 
Definition at line 23 of file JException.hh.
 
  
  
      
        
          | JLANG::JException::JException  | 
          ( | 
          const std::string &  | 
          error | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | JLANG::JException::~JException  | 
          ( | 
           | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | virtual const char* JLANG::JException::what  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inlinevirtual   | 
  
 
Get error message. 
- Returns
 - error message 
 
Definition at line 48 of file JException.hh.
 
 
  
  
      
        
          | static std::ostream& JLANG::JException::getOstream  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Get output stream for conversion of exception. 
Note that the ostream is emptied before use.
- Returns
 - ostream 
 
Definition at line 73 of file JException.hh.
   75       static std::ostringstream 
buffer;
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JException &  | 
          exception  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Print error message of JException. 
- Parameters
 - 
  
    | out | output stream  | 
    | exception | exception  | 
  
   
Definition at line 60 of file JException.hh.
   62       return out << exception.
what();
 
virtual const char * what() const 
Get error message. 
 
 
 
 
  
  
      
        
          | const std::string JLANG::JException::buffer | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: