Le mercredi 21 décembre 2005 à 18:43 +0900, Trustin Lee a écrit : > 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? > A bit, but I agree I'm a bit picky ;)
It's not a big issue anyway Julien
