TSDuck v3.38-3738
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::Thread::ThreadError Class Reference

Fatal low-level threading error. More...

#include <tsThread.h>

Inheritance diagram for ts::Thread::ThreadError:
Collaboration diagram for ts::Thread::ThreadError:

Public Member Functions

 ThreadError (const ts::UString &w)
 Constructor.
 
 ThreadError (const ts::UString &w, int code)
 Constructor.
 
 ThreadError (int code)
 Constructor.
 
virtual const char * what () const noexcept override
 Get the error message as a C-string.
 

Detailed Description

Fatal low-level threading error.

Constructor & Destructor Documentation

◆ ThreadError() [1/3]

ts::Thread::ThreadError::ThreadError ( const ts::UString w)
inlineexplicit

Constructor.


Parameters
[in]wError message for the exception.

◆ ThreadError() [2/3]

ts::Thread::ThreadError::ThreadError ( const ts::UString w,
int  code 
)
inlineexplicit

Constructor.


Parameters
[in]wError message for the exception.
[in]codeSystem error code.

◆ ThreadError() [3/3]

ts::Thread::ThreadError::ThreadError ( int  code)
inlineexplicit

Constructor.


Parameters
[in]codeSystem error code.

Member Function Documentation

◆ what()

virtual const char * ts::Exception::what ( ) const
overridevirtualnoexceptinherited

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: