TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::Charset::DuplicateCharset Class Reference

Exception thrown when registering duplicate charsets. More...

#include <tsCharset.h>

Inheritance diagram for ts::Charset::DuplicateCharset:
Collaboration diagram for ts::Charset::DuplicateCharset:

Public Member Functions

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

Detailed Description

Exception thrown when registering duplicate charsets.

Constructor & Destructor Documentation

◆ DuplicateCharset() [1/4]

ts::Charset::DuplicateCharset::DuplicateCharset ( )
inline

Default constructor.


◆ DuplicateCharset() [2/4]

ts::Charset::DuplicateCharset::DuplicateCharset ( const ts::UString w)
inlineexplicit

Constructor.


Parameters
[in]wError message for the exception.

◆ DuplicateCharset() [3/4]

ts::Charset::DuplicateCharset::DuplicateCharset ( const ts::UString w,
int  code 
)
inlineexplicit

Constructor.


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

◆ DuplicateCharset() [4/4]

ts::Charset::DuplicateCharset::DuplicateCharset ( 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: