E-MailRelay
|
A potential ExceptionSink that is realised by bind()ing an exception source pointer. More...
#include <gexceptionsink.h>
Public Member Functions | |
ExceptionSinkUnbound (ExceptionHandler *eh) | |
Constructor. More... | |
ExceptionSinkUnbound (ExceptionHandler &eh) | |
Constructor. More... | |
ExceptionSink | bind (ExceptionSource *source) const |
Returns a sink object with the source pointer set. More... | |
A potential ExceptionSink that is realised by bind()ing an exception source pointer.
This is used in factory functions such as GNet::Server::newPeer() where the container that uses the factory function to create a containee needs to know which containee a subsequent exception came from.
Definition at line 153 of file gexceptionsink.h.
|
explicit |
Constructor.
Definition at line 94 of file gexceptionsink.cpp.
|
explicit |
Constructor.
Definition at line 89 of file gexceptionsink.cpp.
GNet::ExceptionSink GNet::ExceptionSinkUnbound::bind | ( | ExceptionSource * | source | ) | const |
Returns a sink object with the source pointer set.
Definition at line 100 of file gexceptionsink.cpp.