Run time exception.
More...
#include <JException.hh>
Run time exception.
Definition at line 628 of file JException.hh.
JLANG::JRunTimeException::JRunTimeException |
( |
const std::string & |
error | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 637 of file JException.hh.
JException(const std::string &error)
Constructor.
static std::string JLANG::JException::getDateAndTime |
( |
| ) |
|
|
inlinestaticinherited |
Get date and time [UTC].
- Returns
- date and time [UTC]
Definition at line 31 of file JException.hh.
35 time_t
result = time(NULL);
37 return asctime(gmtime(&
result));
virtual const char* JLANG::JException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlineoverridevirtualinherited |
Get error message.
- Returns
- error message
Definition at line 64 of file JException.hh.
static std::ostream& JLANG::JException::getOstream |
( |
| ) |
|
|
inlinestaticinherited |
Get output stream for conversion of exception.
Note that the ostream is emptied before use.
- Returns
- ostream
Definition at line 89 of file JException.hh.
91 static std::ostringstream
buffer;
The documentation for this class was generated from the following file: