Adding missing use of InvalidMappingException

Adding this use permit to correctly trow the error line ~296 in method persistNewTranslation().