Exception for numerical precision error.
More...
#include <JException.hh>
|
| | JNumericalPrecision (const std::string &error) |
| | Constructor.
|
| |
| virtual const char * | what () const override throw () |
| | Get error message.
|
| |
Exception for numerical precision error.
Definition at line 252 of file JException.hh.
◆ JNumericalPrecision()
| JLANG::JNumericalPrecision::JNumericalPrecision |
( |
const std::string & | error | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 261 of file JException.hh.
261 :
263 {}
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 32 of file JException.hh.
33 {
35
36 time_t
result = time(NULL);
37
38 return asctime(gmtime(&result));
39 }
◆ what()
| virtual const char * JLANG::JException::what |
( |
| ) |
const |
| throw | ( | ) | | | |
|
inlineoverridevirtualinherited |
Get error message.
- Returns
- error message
Definition at line 65 of file JException.hh.
◆ buffer
| const std::string JLANG::JException::buffer |
|
privateinherited |
The documentation for this class was generated from the following file: