Base class for all exceptions in TSDuck. More...
Public Member Functions | |
Exception (const UString &message) | |
Constructor. More... | |
Exception (const UString &message, int error) | |
Constructor. More... | |
virtual | ~Exception () noexcept override |
Destructor. | |
virtual const char * | what () const noexcept override |
Get the error message as a C-string. More... | |
Base class for all exceptions in TSDuck.
|
explicit |
Constructor.
[in] | message | Error message for the exception. |
ts::Exception::Exception | ( | const UString & | message, |
int | error | ||
) |
Constructor.
[in] | message | Error message for the exception. |
[in] | error | System error code causing the exception. |
|
overridevirtualnoexcept |
Get the error message as a C-string.