TSDuck v3.40-4033
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...
 

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.