1 |
|
/* |
2 |
|
* i-scream central monitoring system |
3 |
+ |
* http://www.i-scream.org.uk |
4 |
|
* Copyright (C) 2000-2002 i-scream |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or |
309 |
|
_logger.write(this.toString(), Logger.ERROR, "IO error when connecting to server: "+e); |
310 |
|
throw new IOException("IO error when connecting to server"); |
311 |
|
} |
311 |
– |
catch(IrcException e) { |
312 |
– |
_logger.write(this.toString(), Logger.ERROR, "IRC error when connecting to server: "+e); |
313 |
– |
throw new IOException("IRC error when connecting to server"); |
314 |
– |
} |
312 |
|
catch(NickAlreadyInUseException e) { |
313 |
|
_logger.write(this.toString(), Logger.ERROR, "Nickname "+nick+" is already in use: "+e); |
314 |
|
// don't do anything, instead just loop round |
315 |
|
// and try the next nickname in the list |
316 |
+ |
} |
317 |
+ |
catch(IrcException e) { |
318 |
+ |
_logger.write(this.toString(), Logger.ERROR, "IRC error when connecting to server: "+e); |
319 |
+ |
throw new IOException("IRC error when connecting to server"); |
320 |
|
} |
321 |
|
} |
322 |
|
if(!ok) { |