Base for pvData exceptions.
More...
#include "epicsException.h"
Base for pvData exceptions.
Definition at line 205 of file epicsException.h.
epics::pvData::BaseException::BaseException |
( |
const std::string & |
msg | ) |
|
|
inlineexplicit |
virtual epics::pvData::BaseException::~BaseException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
const char * epics::pvData::BaseException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
Reason for excepton.
Definition at line 62 of file epicsException.cpp.
65 if (base_msg.size()==0) {
66 const char *
base=std::logic_error::what();
69 const ExceptionMixin *info=
dynamic_cast<const ExceptionMixin*
>(
this);
74 out.reserve(strlen(base)+1+stack.size()+1);
85 return base_msg.c_str();
86 }
catch(std::bad_alloc&) {
87 return "BaseException::what - Insufficient memory to construct message";
89 return "BaseException::what - Unknown error when constructing message";
The documentation for this class was generated from the following files: