Changeset 7788


Ignore:
Timestamp:
2004-07-21T14:34:35+12:00 (20 years ago)
Author:
kjdon
Message:

Johns fix: He accidently used SocketTimeoutException which, despite the -target compilation flag not complaining about, doesn't exist in anything earlier than JDK 1.4

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/java/org/nzdl/gsdl/Phind/Phind.java

    r7734 r7788  
    9090
    9191import java.net.Socket;
    92 import java.net.SocketTimeoutException;
     92//import java.net.SocketTimeoutException;
    9393import java.net.InetAddress;
    9494import java.net.UnknownHostException;
    9595import java.io.IOException;
     96import java.io.InterruptedIOException;
    9697
    9798import java.util.Vector;
     
    490491             */
    491492            if(time >= timeout) {
    492             throw new SocketTimeoutException(
     493            throw new InterruptedIOException(
    493494                "No data recieved in " + time +
    494495                " seconds. Connection timed-out.");
Note: See TracChangeset for help on using the changeset viewer.