TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsException.h File Reference

Base class for all exceptions in TSDuck. More...

Classes

class  ts::Exception
 Base class for all exceptions in TSDuck. More...
 
class  ts::ImplementationError
 Implementation error. More...
 
class  ts::InvalidValue
 Exception for generic invalid value error. More...
 
class  ts::UnimplementedMethod
 Unimplemented method error. More...
 
class  ts::UninitializedVariable
 Uninitialized variable error. More...
 

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Macros

#define TS_DECLARE_EXCEPTION(name)
 This macro declares an exception as a subclass of ts::Exception.
 
#define TS_SRCLOC   __FILE__ ":" TS_SLINE ": "
 Locate the source of the exception in the Exception constructor message string.
 

Detailed Description

Base class for all exceptions in TSDuck.

Macro Definition Documentation

◆ TS_DECLARE_EXCEPTION

#define TS_DECLARE_EXCEPTION (   name)

This macro declares an exception as a subclass of ts::Exception.

Parameters
[in]nameName of the exception class.