reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::BaseException Class Referenceabstract

The abstract base-class for all exceptions thrown by resip code. More...

#include <BaseException.hxx>

Inheritance diagram for resip::BaseException:
[legend]

Public Member Functions

virtual const char * name () const noexcept=0
 
const Data & getMessage () const noexcept
 
const char * what () const noexcept override
 

Protected Member Functions

 BaseException (const Data &msg, const Data &file, int line)
 

Protected Attributes

resip::Data message
 
resip::Data fileName
 
int lineNumber
 

Friends

EncodeStream & operator<< (EncodeStream &strm, const BaseException &e)
 
std::ostream & operator<< (std::ostream &strm, const BaseException &e)
 

Detailed Description

The abstract base-class for all exceptions thrown by resip code.

Definition at line 19 of file BaseException.hxx.

Constructor & Destructor Documentation

◆ BaseException()

BaseException::BaseException ( const Data &  msg,
const Data &  file,
int  line 
)
protected

Definition at line 12 of file BaseException.cxx.

Member Function Documentation

◆ getMessage()

const Data & resip::BaseException::getMessage ( ) const
inlinenoexcept

Definition at line 24 of file BaseException.hxx.

◆ name()

◆ what()

const char * resip::BaseException::what ( ) const
inlineoverridenoexcept

Definition at line 25 of file BaseException.hxx.

Friends And Related Symbol Documentation

◆ operator<< [1/2]

EncodeStream & operator<< ( EncodeStream &  strm,
const BaseException &  e 
)
friend

◆ operator<< [2/2]

std::ostream & operator<< ( std::ostream &  strm,
const BaseException &  e 
)
friend

Member Data Documentation

◆ fileName

resip::Data resip::BaseException::fileName
protected

Definition at line 33 of file BaseException.hxx.

◆ lineNumber

int resip::BaseException::lineNumber
protected

Definition at line 34 of file BaseException.hxx.

◆ message

resip::Data resip::BaseException::message
protected

Definition at line 32 of file BaseException.hxx.


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