Fix exception messages in Analyzer