Exception for ControlHost.
More...
#include <JException.hh>
Exception for ControlHost.
Definition at line 484 of file JException.hh.
◆ JControlHostException()
JLANG::JControlHostException::JControlHostException |
( |
const std::string & |
error | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 493 of file JException.hh.
JException(const std::string &error)
Constructor.
◆ getDateAndTime()
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));
◆ what()
virtual const char* JLANG::JException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlineoverridevirtualinherited |
Get error message.
- Returns
- error message
Definition at line 64 of file JException.hh.
◆ getOstream()
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;
◆ buffer
const std::string JLANG::JException::buffer |
|
privateinherited |
The documentation for this class was generated from the following file: