nidas v1.2.3
|
The NidasApp class throws a NidasAppException when command-line options do not parse. More...
#include <NidasApp.h>
Public Member Functions | |
NidasAppException (const std::string &what) | |
virtual Exception * | clone () const |
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 |
The NidasApp class throws a NidasAppException when command-line options do not parse.
|
inline |
Reimplemented in nidas::core::SampleLengthException, nidas::core::SampleParseException, nidas::core::XMLException, nidas::util::InvalidParameterException, nidas::util::IOException, and nidas::util::ParseException.
References nidas::util::Exception::Exception().
Referenced by nidas::util::Thread::pRun().
|
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 |