reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::SipStack::Exception Class Referencefinal

thrown when the stack is unable to function. More...

#include <SipStack.hxx>

Inheritance diagram for resip::SipStack::Exception:
[legend]

Public Member Functions

 Exception (const Data &msg, const Data &file, const int line)
 constructor
 
const char * name () const noexcept override
 what gets called instead of the pure virtual in the base
 
- Public Member Functions inherited from resip::BaseException
const Data & getMessage () const noexcept
 
const char * what () const noexcept override
 

Additional Inherited Members

- Protected Member Functions inherited from resip::BaseException
 BaseException (const Data &msg, const Data &file, int line)
 
- Protected Attributes inherited from resip::BaseException
resip::Data message
 
resip::Data fileName
 
int lineNumber
 

Detailed Description

thrown when the stack is unable to function.

For instance, the stack cannot process messages because there are no transports associated with the stack.

Definition at line 285 of file SipStack.hxx.

Constructor & Destructor Documentation

◆ Exception()

resip::SipStack::Exception::Exception ( const Data &  msg,
const Data &  file,
const int  line 
)
inline

constructor

Parameters
msgThe message to be put in the exception
fileThe source code file where the exception got thrown
lineThe line number in the file where the exception got thrown
Note
Used thus in SipStack.cxx: throw Exception("exception message", FILE, LINE);

Definition at line 297 of file SipStack.hxx.

Member Function Documentation

◆ name()

const char * resip::SipStack::Exception::name ( ) const
inlineoverridevirtualnoexcept

what gets called instead of the pure virtual in the base

Implements resip::BaseException.

Definition at line 303 of file SipStack.hxx.


The documentation for this class was generated from the following file: