No action shall be maintained against the city for damages unless a written statement by the claimant or by his agent, attorney or representative, setting forth the basis for his claim, shall have been filed with the mayor within sixty days after such cause of action shall have occurred; except that when the claimant is an infant or non compos mentis, or when an injured person dies within sixty days, the time limit for filing a claim shall be one hundred and twenty days. No officer or employee of the city may waive this requirement.