TSDuck v3.40-3968
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::IPAddress::IncompatibleIPAddress Class Reference

This exception is thrown when assigning incompatible IP addresses. More...

#include <tsIPAddress.h>

Inheritance diagram for ts::IPAddress::IncompatibleIPAddress:
Collaboration diagram for ts::IPAddress::IncompatibleIPAddress:

Public Member Functions

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

Detailed Description

This exception is thrown when assigning incompatible IP addresses.

Constructor & Destructor Documentation

◆ IncompatibleIPAddress() [1/4]

ts::IPAddress::IncompatibleIPAddress::IncompatibleIPAddress ( )
inline

Default constructor.


◆ IncompatibleIPAddress() [2/4]

ts::IPAddress::IncompatibleIPAddress::IncompatibleIPAddress ( const ts::UString w)
inlineexplicit

Constructor.


Parameters
[in]wError message for the exception.

◆ IncompatibleIPAddress() [3/4]

ts::IPAddress::IncompatibleIPAddress::IncompatibleIPAddress ( const ts::UString w,
int  code 
)
inlineexplicit

Constructor.


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

◆ IncompatibleIPAddress() [4/4]

ts::IPAddress::IncompatibleIPAddress::IncompatibleIPAddress ( 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: