Date expirationDate = null;
if (!neverExpires) {
expirationDate = PortalUtil.getDate(
expMonth, expDay, expYear,
new QuestionExpirationDateException());
}
question.setPortletId(portletId);
question.setCompanyId(user.getCompanyId());
question.setUserId(user.getUserId());