1#if !defined(RESIP_BASEEXCEPTION_HXX)
2#define RESIP_BASEEXCEPTION_HXX
22 virtual const char*
name() const noexcept = 0;
36#ifndef RESIP_USE_STL_STREAMS
42#ifndef RESIP_USE_STL_STREAMS
The abstract base-class for all exceptions thrown by resip code.
friend std::ostream & operator<<(std::ostream &strm, const BaseException &e)
const Data & getMessage() const noexcept
virtual const char * name() const noexcept=0
friend EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)
const char * what() const noexcept override
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
const char * data() const noexcept
Returns a pointer to the contents of this Data.
dcm! – add UnusedChecking(_enum) below;
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)