//Obtain page data
Integer messageId = getPageParameters().get(PARAM_MESSAGE_ID).toInteger();
message = messageReader.getUserMessage(messageId, authorizedUserService.getCurrentUserId());
if(message == null) {
throw new BusinessLogicException("Cannot find message #" + messageId + " for the current user!");
}
}
return message;
}