Base exception class.
More...
#include <utctime.h>
Public Member Functions |
| UTCTimeException (const std::string msg="No error message") |
| Constructor.
|
virtual | ~UTCTimeException () |
| Destructor.
|
const std::string & | what () const |
| Returns an error message.
|
Detailed Description
All custom exceptions thrown by the UTCTime() class and associated functions are derived from UTCTimeException.
Constructor & Destructor Documentation
utctime::UTCTimeException::UTCTimeException |
( |
const std::string |
msg = "No error message" | ) |
|
|
inlineexplicit |
- Parameters
-
msg | An error message to print when what() is called. |
Member Function Documentation
const std::string& utctime::UTCTimeException::what |
( |
| ) |
const |
|
inline |
- Returns
- A std::string containing the error message.
The documentation for this class was generated from the following file: