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:
angryziber 2007-07-15 20:53:36 +00:00
parent c315533cb7
commit f3433db082

View File

@ -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);