Base class for all exceptions in TSDuck.
More...
#include <tsException.h>
|
| Exception (const UString &message) |
| Constructor.
|
|
| Exception (const UString &message, int error) |
| Constructor.
|
|
virtual const char * | what () const noexcept override |
| Get the error message as a C-string.
|
|
Base class for all exceptions in TSDuck.
◆ Exception() [1/2]
ts::Exception::Exception |
( |
const UString & |
message | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | message | Error message for the exception. |
◆ Exception() [2/2]
ts::Exception::Exception |
( |
const UString & |
message, |
|
|
int |
error |
|
) |
| |
Constructor.
- Parameters
-
[in] | message | Error message for the exception. |
[in] | error | System error code causing the exception. |
◆ what()
virtual const char * ts::Exception::what |
( |
| ) |
const |
|
overridevirtualnoexcept |
Get the error message as a C-string.
- Returns
- The error message as a C-string (valid as long as this instance exists).
The documentation for this class was generated from the following file: