Handles key by calling its handle() method and unregisters it if the handle() call either returns false or throws an exception. In the latter case the exception thrown is reported to the client by calling its error() method.
an epoll key which contains a client to be handled and the reported event
if not null, will be called each time event call results in unhandled exception. May both rethrow and consume exception instance after processing it.
See Implementation
Handles key by calling its handle() method and unregisters it if the handle() call either returns false or throws an exception. In the latter case the exception thrown is reported to the client by calling its error() method.