#include <Exception.h>
|
static std::string | errnoToString (int err) |
| Return string description of an errno (from errno.h).
|
|
|
| Exception (const std::string &type, const std::string &n, const std::string &m) |
|
| Exception (const std::string &type, const std::string &n, int ierr) |
|
◆ Exception() [1/6]
nidas::util::Exception::Exception |
( |
const std::string & | type, |
|
|
const std::string & | n, |
|
|
const std::string & | m ) |
|
inlineprotected |
◆ Exception() [2/6]
nidas::util::Exception::Exception |
( |
const std::string & | type, |
|
|
const std::string & | n, |
|
|
int | ierr ) |
|
inlineprotected |
◆ Exception() [3/6]
nidas::util::Exception::Exception |
( |
const std::string & | n, |
|
|
const std::string & | m ) |
|
inline |
Constructor for an exception.
Typical use: Exception e("RealBadSituation","help!");
◆ Exception() [4/6]
nidas::util::Exception::Exception |
( |
const std::string & | m, |
|
|
int | ierr ) |
|
inline |
Constructor for an exception.
Typical use: Exception e("fork",errno);
◆ Exception() [5/6]
nidas::util::Exception::Exception |
( |
const std::string & | m | ) |
|
|
inline |
◆ Exception() [6/6]
nidas::util::Exception::Exception |
( |
const Exception & | e | ) |
|
|
inline |
◆ ~Exception()
virtual nidas::util::Exception::~Exception |
( |
| ) |
|
throw | ( | ) | | | |
|
inlinevirtual |
◆ clone()
virtual Exception * nidas::util::Exception::clone |
( |
| ) |
const |
|
inlinevirtual |
◆ errnoToString()
string nidas::util::Exception::errnoToString |
( |
int | err | ) |
|
|
static |
◆ getErrno()
virtual int nidas::util::Exception::getErrno |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=()
◆ toString()
virtual std::string nidas::util::Exception::toString |
( |
| ) |
const |
throw | ( | ) | | | |
|
inlinevirtual |
◆ what()
virtual const char * nidas::util::Exception::what |
( |
| ) |
const |
throw | ( | ) | | | |
|
inlinevirtual |
◆ _errno
int nidas::util::Exception::_errno |
|
protected |
◆ _what
std::string nidas::util::Exception::_what |
|
protected |
The documentation for this class was generated from the following files: