TSDuck Version 3.32-2769 (TSDuck - The MPEG Transport Stream Toolkit)
ts::TSPacket::AdaptationFieldError Class Reference

Internal error: access a non-existent adaptation field. More...

Inheritance diagram for ts::TSPacket::AdaptationFieldError:
Collaboration diagram for ts::TSPacket::AdaptationFieldError:

Public Member Functions

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

Detailed Description

Internal error: access a non-existent adaptation field.

Constructor & Destructor Documentation

◆ AdaptationFieldError() [1/3]

ts::TSPacket::AdaptationFieldError::AdaptationFieldError ( const ts::UString w)
inlineexplicit

Constructor.


Parameters
[in]wError message for the exception.

◆ AdaptationFieldError() [2/3]

ts::TSPacket::AdaptationFieldError::AdaptationFieldError ( const ts::UString w,
int  code 
)
inlineexplicit

Constructor.


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

◆ AdaptationFieldError() [3/3]

ts::TSPacket::AdaptationFieldError::AdaptationFieldError ( 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: