|
CPN
Computational Process Networks
|
#include <ErrnoException.h>
Inheritance diagram for ErrnoException:
Collaboration diagram for ErrnoException:Public Member Functions | |
| ErrnoException () throw () | |
| ErrnoException (int err) throw () | |
| ErrnoException (const char *msg, int err) throw () | |
| virtual | ~ErrnoException () throw () |
| virtual const char * | what () const throw () |
| int | Error () const |
| std::string | GetStackTrace () const |
Protected Attributes | |
| std::string | stacktrace |
Private Member Functions | |
| void | Fill () throw () |
Private Attributes | |
| int | error |
| std::string | errorstring |
A generic exception that encapsulates the errno value.
Note that this dynamically allocates memory so is unsutable for out of memory errors.
Definition at line 37 of file ErrnoException.h.
| ErrnoException::ErrnoException | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 31 of file ErrnoException.cc.
References errorstring, Fill(), and Exception::GetStackTrace().
Here is the call graph for this function:| ErrnoException::ErrnoException | ( | int | err | ) | |
| throw | ( | ||||
| ) | |||||
Definition at line 38 of file ErrnoException.cc.
| ErrnoException::ErrnoException | ( | const char * | msg, |
| int | err | ||
| ) | |||
| throw | ( | ||
| ) | |||
Definition at line 45 of file ErrnoException.cc.
|
virtual | |||||||||||||
Definition at line 54 of file ErrnoException.cc.
|
inline |
Definition at line 44 of file ErrnoException.h.
References error.
Referenced by CPN::RemoteContext::EntryPoint(), CPN::RemoteQueue::HandleError(), CPN::ConnectionServer::Poll(), CPN::RemoteContextDaemon::Client::Read(), and CPN::RemoteContextDaemon::Client::Send().
Here is the caller graph for this function:
|
private | |||||||||||||
Definition at line 61 of file ErrnoException.cc.
References error, errorstring, and UNKNOWN_ERROR.
Referenced by ErrnoException().
Here is the caller graph for this function:
|
inlineinherited |
Definition at line 40 of file Exception.h.
References Exception::stacktrace.
Referenced by ErrnoException().
Here is the caller graph for this function:
|
virtual | |||||||||||||
Definition at line 57 of file ErrnoException.cc.
References errorstring.
Referenced by CPN::RemoteContext::EntryPoint(), CPN::RemoteQueue::FileThreadEntryPoint(), CPN::RemoteQueue::HandleError(), CPN::ConnectionServer::Poll(), CPN::RemoteContextDaemon::Client::Read(), CPN::RemoteContextDaemon::Client::Send(), CPN::RemoteQueue::SendEndOfReadPacket(), and CPN::RemoteQueue::SendEndOfWritePacket().
Here is the caller graph for this function:
|
private |
Definition at line 47 of file ErrnoException.h.
|
private |
Definition at line 48 of file ErrnoException.h.
Referenced by ErrnoException(), Fill(), and what().
|
protectedinherited |
Definition at line 42 of file Exception.h.
Referenced by Exception::GetStackTrace().
1.8.5