On 24.11.2021 15:07, James McCoy wrote:
The comment says IOException, but this is InterruptedException.  Is that
intentional?


Catching InterruptedException is simply to be able to call 'tunnelAgent.join()'. The comment is correct. The difference between 'tunnelAgent.join()' and 'tunnelAgent.joinAndTest()' is testing for IOException.

Reply via email to