Update exception message.
Requires trusted expressions in onXYZ (e.g. onclick, onkeypress) interpolations.