update exception message in Anagram