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::Exception |
( |
const std::string & |
error | ) |
|
|
inline |
◆ ~Exception()
Exception::~Exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
◆ what()
virtual const char* Exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
Get error message.
- Returns
- error message
Definition at line 38 of file Exception.hh.
◆ getOstream()
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;
◆ operator<<
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.
◆ buffer
const std::string Exception::buffer |
|
private |
The documentation for this class was generated from the following file: