21#ifndef G_NET_EXCEPTION_HANDLER_H
22#define G_NET_EXCEPTION_HANDLER_H
30 class ExceptionHandler ;
An abstract interface for handling exceptions thrown out of event-loop callbacks (socket/future event...
virtual ~ExceptionHandler()
Destructor.
virtual void onException(ExceptionSource *source, std::exception &e, bool done)=0
Called by the event loop when an exception is thrown out of an event loop callback.
A mixin base class that identifies the source of an exception when delivered to GNet::ExceptionHandle...