more explicit exceptions in MessagingBestPractices

fixes #327