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

Exception for generic invalid value error. More...

#include <tsException.h>

Inheritance diagram for ts::InvalidValue:
Collaboration diagram for ts::InvalidValue:

Public Member Functions

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

Detailed Description

Exception for generic invalid value error.

Constructor & Destructor Documentation

◆ InvalidValue() [1/3]

ts::InvalidValue::InvalidValue ( const ts::UString w)
inlineexplicit

Constructor.


Parameters
[in]wError message for the exception.

◆ InvalidValue() [2/3]

ts::InvalidValue::InvalidValue ( const ts::UString w,
int  code 
)
inlineexplicit

Constructor.


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

◆ InvalidValue() [3/3]

ts::InvalidValue::InvalidValue ( 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: