Changeset 18992

Show
Ignore:
Timestamp:
15.04.2009 19:20:42 (11 years ago)
Author:
ak19
Message:

Changed exception message.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/server/PortFinder.java

    r18969 r18992  
    6868        } else { 
    6969        throw new Exception("Cannot find an available port in the range "  
    70                     + PORT_BASE + "-" + (PORT_BASE+PORT_BLOCK_SIZE) 
    71                     + "\nwhich is necessary for forcibly terminating wget."); 
     70                    + PORT_BASE + "-" + (PORT_BASE+PORT_BLOCK_SIZE)); 
    7271        } 
    7372         
    74     }catch(IOException e) { 
     73    } catch(IOException e) { 
    7574        System.err.println("Error when trying to find an available port. In PortFinder.findPort() " + e); 
    7675    }