Fix class-cast exception which is a regression introduces in 256c931db20fbfaf597e501b74a34fd850c7f948

This commit is contained in:
Norman Maurer 2013-03-07 11:09:23 +01:00
parent 526dafca75
commit 9599bfd569

View File

@ -835,7 +835,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
}
private void invokeExceptionCaught0(Throwable cause) {
ChannelStateHandler handler = (ChannelStateHandler) handler();
ChannelHandler handler = handler();
try {
handler.exceptionCaught(this, cause);
} catch (Throwable t) {