Changeset 16993

Show
Ignore:
Timestamp:
25.08.2008 13:46:07 (11 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.

Files:
1 modified

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    }