SAK-27846 Make sure the exception has a message.

This was causing a problem where no alert message was displayed when there was a problem with importing the events.

git-svn-id: https://source.sakaiproject.org/svn/kernel@315494 66ffb92e-73f9-0310-93c1-f5514f145a0a