} else {
/*
* Account creation may also fail. So expose the reasons of the
* failure.
*/
MessageS2CCreateAccountNACK msgCreateAccountNACK = new MessageS2CCreateAccountNACK(
message.getSocketChannel(), result);
msgCreateAccountNACK.setProtocolVersion(message.getProtocolVersion());
netMan.sendMessage(msgCreateAccountNACK);
}
} catch (Exception e) {
logger.error("Unable to create an account", e);
}