mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
ConnectException is now ignored as well
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@160 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
parent
c315533cb7
commit
f3433db082
@ -9,6 +9,7 @@ package net.azib.ipscan.fetchers;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.ConnectException;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import java.net.SocketTimeoutException;
|
||||
@ -75,7 +76,11 @@ public class PortTextFetcher implements Fetcher {
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (ConnectException e) {
|
||||
// no connection
|
||||
}
|
||||
catch (SocketTimeoutException e) {
|
||||
// no information
|
||||
}
|
||||
catch (IOException e) {
|
||||
LOG.log(Level.FINE, subject.getIPAddress().toString(), e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user