Correctly catching ConnectTimeoutException

15 views
Skip to first unread message

Priyanka Perera

unread,
May 14, 2019, 3:31:50 AM5/14/19
to ne...@googlegroups.com
Hi all,

How to correctly catch the ConnectTimeoutException during a client connection ?

Netty 4.1.30.Final.

Thanks
Priyanka

Norman Maurer

unread,
May 14, 2019, 5:40:15 AM5/14/19
to ne...@googlegroups.com
Add a ChannelFutureListener to the ChannelFuture returned by connect and handle it there.



--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/CAJt14FNKGwe-0NqLzHRUpaG8TzsO-JogmOiCWKYz9kYX0pkdDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Priyanka Perera

unread,
May 14, 2019, 6:18:52 AM5/14/19
to ne...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages