nidas v1.2.3
|
Exception which can be built from an xerces::XMLException, xercesc::SAXException, or xercesc::DOMException. More...
#include <XMLException.h>
Public Member Functions | |
XMLException (const std::string &msg) | |
Create an XMLException from a string;. | |
XMLException (const xercesc::XMLException &e) | |
Create an XMLException from a xercesc::XMLException. | |
XMLException (const xercesc::SAXException &e) | |
Create an XMLException from a xercesc::SAXException. | |
XMLException (const xercesc::DOMException &e) | |
Create an XMLException from a xercesc::DOMException. | |
XMLException * | clone () const |
clone myself (a "virtual" constructor). | |
virtual int | getErrno () const |
virtual std::string | toString () const throw () |
virtual const char * | what () const throw () |
Static Public Member Functions | |
static std::string | errnoToString (int err) |
Return string description of an errno (from errno.h). | |
Protected Attributes | |
std::string | _what |
int | _errno |
Exception which can be built from an xerces::XMLException, xercesc::SAXException, or xercesc::DOMException.
Simplifies XML exception handling.
|
inline |
Create an XMLException from a string;.
Referenced by clone().
nidas::core::XMLException::XMLException | ( | const xercesc::XMLException & | e | ) |
Create an XMLException from a xercesc::XMLException.
References nidas::util::Exception::_what, and nidas::core::getSample().
nidas::core::XMLException::XMLException | ( | const xercesc::SAXException & | e | ) |
Create an XMLException from a xercesc::SAXException.
nidas::core::XMLException::XMLException | ( | const xercesc::DOMException & | e | ) |
Create an XMLException from a xercesc::DOMException.
|
inlinevirtual |
clone myself (a "virtual" constructor).
Reimplemented from nidas::util::Exception.
References XMLException().
|
staticinherited |
Return string description of an errno (from errno.h).
A convienence method that uses strerror_r(int) from <string.h>.
References err.
Referenced by nidas::util::Thread::cancel(), nidas::util::Inet4Address::getHostName(), nidas::util::Process::getMaxRSS(), nidas::util::Process::getVMemSize(), nidas::util::Thread::join(), nidas::util::Thread::kill(), nidas::util::Thread::setThreadSchedulerNolock(), and nidas::util::Thread::start().
References nidas::util::Exception::_errno.
|
inlinevirtualinherited |
References nidas::util::Exception::_what.
|
protectedinherited |
Referenced by nidas::util::Exception::getErrno(), and nidas::util::Exception::operator=().
|
protectedinherited |