Changeset 16993 for gli


Ignore:
Timestamp:
08/25/08 13:46:07 (12 years ago)
Author:
ak19
Message:
  1. When the GLI client cannot connect to the library-path url provided in Preferences (ConnectException), a message is now displayed in place of the Exception being thrown. 2. Fixed bug introduced in last (accidental) commit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/Gatherer.java

    r16990 r16993  
    750750        url = null;
    751751    }
    752     catch(ConnectionException connectException) {
    753        
     752    catch(java.net.ConnectException connectException) {
     753        JOptionPane.showMessageDialog(g_man, Dictionary.get("Preferences.Connection.Library_Path_Connection_Failure", Configuration.library_url.toString()), Dictionary.get("General.Warning"), JOptionPane.WARNING_MESSAGE);
    754754        DebugStream.println(connectException.getMessage());
    755755    }
Note: See TracChangeset for help on using the changeset viewer.