Updated exception messages for new version of snakeyaml.