|
| | IOException (const std::string &comment,...) |
| |
| | IOException (int err, const std::string &comment,...) |
| |
| virtual const char * | what () const throw () |
| |
| int | err () const |
| |
Definition at line 19 of file IOException.h.
◆ IOException() [1/3]
◆ IOException() [2/3]
Definition at line 15 of file IOException.cc.
16{
17 va_list ap;
18 char ss[1024 * 100];
19 va_start(ap, format);
20 vsnprintf(ss, sizeof(ss), format.c_str(), ap);
21 va_end(ap);
22 m_comment = ss;
23}
◆ IOException() [3/3]
| IOException |
( |
int |
err, |
|
|
const std::string & |
comment, |
|
|
|
... |
|
) |
| |
Definition at line 25 of file IOException.cc.
26{
27 m_err = err;
28 va_list ap;
29 char ss[1024 * 100];
30 va_start(ap, format);
31 vsnprintf(ss, sizeof(ss), format.c_str(), ap);
32 va_end(ap);
33 m_comment = ss;
34}
◆ ~IOException()
◆ err()
◆ what()
| const char * what |
( |
| ) |
const |
| throw | ( | |
| ) | | |
|
virtualinherited |
Definition at line 31 of file Exception.cc.
33{
34 return m_comment.c_str();
35}
◆ m_comment
◆ m_err
The documentation for this class was generated from the following files: