Thanks. My question is if it happens, will mina close the session?
2007/4/12, Trustin Lee <[EMAIL PROTECTED]>:
On 4/12/07, mat <[EMAIL PROTECTED]> wrote: > Hi, > > If something wrong in the MessageDecoder decodeBody(unexpected exception > happened with no handling by programmer), what will mina do? Automatically > close the session? MINA will wrap the exception with ProtocolDecoderException, and throw it. If the exception is already a ProtocolDecoderException so it doesn't need to be wrapped with ProtocolDecoderException, it will be thrown as is. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
