Skip to content

Commit

Permalink
- let the exception handler from decoder handle the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ritzalam committed Mar 28, 2012
1 parent 835670f commit 878ca71
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 878ca71

Please sign in to comment.