The documentation says ** Invoked when any exception is thrown by user [EMAIL PROTECTED] IoHandler} implementation or by MINA. If <code>cause</code> is an instance of [EMAIL PROTECTED] IOException}, MINA will close the connection automatically
** The fact that I am trying to understand here is about Exception handling strategy in MINA while decoding protocol specific bytes and there are violations in packet structure. Will exceptionCaught() be called if Protocol Decoder throws an exception or it shall handle only. IoHandler's are typically meant to handle business logic. So if there is an error while decoding an error, 1. Is it okay to throw an error from the decoder and process it in exceptionCaught(). Are there other scenarios where this function can be used -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
