Hi Julien,

2005/12/20, Julien Vermillard <[EMAIL PROTECTED]>:
Hi
Why does ConnectFuture.join(); don't throw the IOException when a
connection fail ?

I see it's  ConnectFuture.getsession(); who throw the stocked Exception
back to the caller but in some of my code i don't want to get the
IoSession, but I whould like to get the IOException.

That's an interesting question.  CloseFuture or WriteFuture doesn't throw any exception at all.  That's why join() doesn't throw any exception.  Why don't you just call getSession() and don't use the returned session?  Does it look bad?

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C

Reply via email to