On 8/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> You shouldn't unroll the stack for very frequent errors.

Why not. Fail fast and all that!

The alternative is using an exception handler like
IoHandler.exceptionCaught() which could at least log the error and close
the IoSession


I created a JIRA issue here:

http://issues.apache.org/jira/browse/DIRMINA-282

If you called IoSession.write() in the IoHandler, it will be propagated to
exceptionCaught automatically.

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to