TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::Time::TimeError Class Reference

Fatal low-level time error. More...

#include <tsTime.h>

Inheritance diagram for ts::Time::TimeError:
Collaboration diagram for ts::Time::TimeError:

Public Member Functions

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

Detailed Description

Fatal low-level time error.

Constructor & Destructor Documentation

◆ TimeError() [1/3]

ts::Time::TimeError::TimeError ( const ts::UString w)
inlineexplicit

Constructor.


Parameters
[in]wError message for the exception.

◆ TimeError() [2/3]

ts::Time::TimeError::TimeError ( const ts::UString w,
int  code 
)
inlineexplicit

Constructor.


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

◆ TimeError() [3/3]

ts::Time::TimeError::TimeError ( 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: