reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
ParseException.cxx
Go to the documentation of this file.
2
3namespace resip
4{
5
7 const Data& context,
8 const Data& file,
9 const int line)
10 : resip::BaseException(msg, file, line),
11 mContext(context)
12{}
13
14const char*
15ParseException::name() const noexcept
16{
17 return "ParseException";
18}
19
20const Data&
22{
23 return mContext;
24}
25
26}
The abstract base-class for all exceptions thrown by resip code.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
const char * name() const noexcept override
ParseException(const Data &msg, const Data &context, const Data &file, int line)
const Data & getContext() const noexcept
dcm! – add UnusedChecking(_enum) below;