MessageFilters.message(MessageType.RPL_LUSEROP),
MessageFilters.message(MessageType.RPL_LUSERUNKNOWN),
MessageFilters.message(MessageType.ERR_NICKNAMEINUSE)),
nickMessage, userMessage).get(0);
} catch (InterruptedException e) {
throw new ConnectionException("Interrupted while awaiting connection registration response");
}
switch (response.getType()) {
case ERR_NICKNAMEINUSE:
throw new NickNameInUseException();