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