mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
Also catch SmackException in Socks5BytestreamRequest
and use try/multi-catch.
This commit is contained in:
parent
4f7324103c
commit
095b5c85a1
1 changed files with 1 additions and 7 deletions
|
@ -239,13 +239,7 @@ public class Socks5BytestreamRequest implements BytestreamRequest {
|
|||
break;
|
||||
|
||||
}
|
||||
catch (TimeoutException e) {
|
||||
incrementConnectionFailures(address);
|
||||
}
|
||||
catch (IOException e) {
|
||||
incrementConnectionFailures(address);
|
||||
}
|
||||
catch (XMPPException e) {
|
||||
catch (TimeoutException | IOException | SmackException | XMPPException e) {
|
||||
incrementConnectionFailures(address);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue