#include <IOException.h>
|
| IOException (const std::string &device, const std::string &task, const std::string &msg) |
| Create an IOException, passing a device name, task (e.g. "read" or "ioctl"), and a message.
|
|
| IOException (const std::string &task, const std::string &msg) |
| Create an IOException, passing a device name, task (e.g. "read" or "ioctl"), and a message.
|
|
| IOException (const std::string &device, const std::string &task, int err) |
| Create an IOException, passing a device name, task (e.g. "read" or "ioctl"), and an errno value.
|
|
| IOException (const IOException &e) |
| Copy constructor.
|
|
IOException & | operator= (const IOException &e) |
|
virtual Exception * | clone () const |
| clone myself (a "virtual" constructor).
|
|
virtual int | getErrno () const |
|
virtual std::string | toString () const throw () |
|
virtual const char * | what () const throw () |
|
|
static std::string | errnoToString (int err) |
| Return string description of an errno (from errno.h).
|
|
|
| IOException (const std::string &etype, const std::string &device, const std::string &task, int err) |
| Constructor used by sub-classes of IOException (e.g.
|
|
| IOException (const std::string &etype, const std::string &device, const std::string &task, const std::string &msg) |
| Constructor used by sub-classes of IOException (e.g.
|
|
◆ IOException() [1/6]
nidas::util::IOException::IOException |
( |
const std::string & | etype, |
|
|
const std::string & | device, |
|
|
const std::string & | task, |
|
|
int | err ) |
|
inlineprotected |
◆ IOException() [2/6]
nidas::util::IOException::IOException |
( |
const std::string & | etype, |
|
|
const std::string & | device, |
|
|
const std::string & | task, |
|
|
const std::string & | msg ) |
|
inlineprotected |
◆ IOException() [3/6]
nidas::util::IOException::IOException |
( |
const std::string & | device, |
|
|
const std::string & | task, |
|
|
const std::string & | msg ) |
|
inline |
Create an IOException, passing a device name, task (e.g. "read" or "ioctl"), and a message.
◆ IOException() [4/6]
nidas::util::IOException::IOException |
( |
const std::string & | task, |
|
|
const std::string & | msg ) |
|
inline |
Create an IOException, passing a device name, task (e.g. "read" or "ioctl"), and a message.
◆ IOException() [5/6]
nidas::util::IOException::IOException |
( |
const std::string & | device, |
|
|
const std::string & | task, |
|
|
int | err ) |
|
inline |
Create an IOException, passing a device name, task (e.g. "read" or "ioctl"), and an errno value.
◆ IOException() [6/6]
nidas::util::IOException::IOException |
( |
const IOException & | e | ) |
|
|
inline |
◆ clone()
virtual Exception * nidas::util::IOException::clone |
( |
| ) |
const |
|
inlinevirtual |
◆ errnoToString()
string nidas::util::Exception::errnoToString |
( |
int | err | ) |
|
|
staticinherited |
◆ getErrno()
virtual int nidas::util::Exception::getErrno |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ operator=()
◆ toString()
virtual std::string nidas::util::Exception::toString |
( |
| ) |
const |
throw | ( | ) | | | |
|
inlinevirtualinherited |
◆ what()
virtual const char * nidas::util::Exception::what |
( |
| ) |
const |
throw | ( | ) | | | |
|
inlinevirtualinherited |
◆ _errno
int nidas::util::Exception::_errno |
|
protectedinherited |
◆ _what
std::string nidas::util::Exception::_what |
|
protectedinherited |
The documentation for this class was generated from the following file: