try { Email email = prepareEmail(dataBook); sendEmail(email); } catch (MessagingException me) { showError(me); }