public ConversationId parseConversationId(String encodedId) throws ConversationException {
try {
return new SimpleConversationId(new Integer(Integer.parseInt(encodedId)));
} catch (NumberFormatException e) {
throw new BadlyFormattedConversationIdException(encodedId, e);
}
}