Revert "Use interface to determine if an exception contains HTML message content."

This reverts commit 8e274dd6b36989dd7b20a3e2b17a5d2cf1db7107.