Changeset 18991

Show
Ignore:
Timestamp:
15.04.2009 19:18:56 (11 years ago)
Author:
ak19
Message:

Changed exception message.

Files:
1 modified

Legend:

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

    r18987 r18991  
    6969        } else { 
    7070        throw new Exception("Cannot find an available port in the range "  
    71                     + PORT_BASE + "-" + (PORT_BASE+PORT_BLOCK_SIZE) 
    72                     + "\nwhich is necessary for forcibly terminating wget."); 
     71                    + PORT_BASE + "-" + (PORT_BASE+PORT_BLOCK_SIZE)); 
    7372        } 
    7473         
    75     }catch(IOException e) { 
     74    } catch(IOException e) { 
    7675        System.err.println("Error when trying to find an available port. In PortFinder.findPort() " + e); 
    7776    }