Hi,

I'm not totally clear about how exceptions are handled in Netty's handlers.

Which exceptions are given to ChannelInboundHandler.exceptionCaught?

For example, if I do a ctx.writeAndFlush(...) and an exception happen 
(e.g., during serialization or during network send), I know I can get it 
from the ChannelFutureListener that I can attach to the ChannelFuture 
returned by write, but is the exception also going through the pipeline and 
is passed to ChannelInboundHandler.exceptionCaught?
And which handler is going to get it? The one where the exception got 
thrown (and passed to inbound handler up to the point it is handled)?
Is the exception only passed to the handler if there is no future attached 
to the write operation?

Thanks for any clarification :)

Victor

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/42448118-9b6b-4545-84d6-96793695995e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to