#2 MessagingException instead of IOException