- let the exception handler from decoder handle the exception

This commit is contained in:
Richard Alam 2012-03-28 18:44:05 +00:00
parent 835670f592
commit 878ca71018

View File

@ -37,12 +37,12 @@ public class BlockStreamEventMessageHandler extends IoHandlerAdapter {
private ISessionManagerGateway sessionManager;
@Override
public void exceptionCaught( IoSession session, Throwable cause ) throws Exception
{
log.warn(cause.toString() + " \n " + cause.getMessage());
cause.printStackTrace();
}
// @Override
// public void exceptionCaught( IoSession session, Throwable cause ) throws Exception
// {
// log.warn(cause.toString() + " \n " + cause.getMessage());
// cause.printStackTrace();
// }
@Override
public void messageReceived( IoSession session, Object message ) throws Exception