|
int | errorNumber () const |
| Error code (errno number) More...
|
|
char const * | errorString () const |
| Error string (strerror() value) More...
|
|
bool | anyOf (int c0, int c1=0, int c2=0, int c3=0, int c4=0, int c5=0, int c6=0, int c7=0, int c8=0, int c9=0) const |
| true , if errorNumber() is one of c0 ... c9 More...
|
|
virtual | ~Exception () throw () |
|
virtual char const * | what () const throw () |
| get exception description and backtrace if available More...
|
|
std::string | message () const |
| get exception description More...
|
|
std::string | backtrace () const |
| Return backtrace (if available) More...
|
|
void | append (std::string text) |
| Extend exception description. More...
|
|
Exception handling standard UNIX errors (errno)
This exception is thrown to signal generic errno
failures. Normally the errno
value is automatically taken from the errno
variable but it may also be specified explicitly:
<< " while opening configuration file: " << filename;
From within SENF (<em>and only there because it depends on the \c SENF_DEBUG symbol</em>),
SystemException should be thrown using wrapper macros which add additional information to
the exception description:
<< " while opening configuration file: " << filename;
Definition at line 286 of file Exception.hh.