Sanitizing error messages (exceptions) so that they can be recorded in XML.