Unexpected exception while sending exception upstream
falconair
shahbazc at gmail.com
Mon Mar 8 02:29:41 EST 2010
In an upstream handler, I handle an unexpected situation by sending an
exception to the next handler:
ctx.sendUpstream(new DefaultExceptionEvent(ctx.getChannel(),new
Exception("ERROR")));
This exception shows up correctly in the next handler's exceptionCaught
method; but, my Eclipse IDE also show an exception at the
ctx.sendUpstream... line! I expected the exception to only show up in the
handler which receives the exception, not the handler which dispatches the
exception.
Am I doing something wrong?
--
View this message in context: http://n2.nabble.com/Unexpected-exception-while-sending-exception-upstream-tp4693838p4693838.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list