refs #6564 refactored out HtmlMessageException and introduced some other exceptions instead
Merge pull request #6587 from piwik/removeHtmlMessageException

Refactor out HtmlMessageException