No civil action shall be maintained against the Village of Kiryas Joel or the Superintendent of Public Works for damages or injury to person or property sustained by reason of any highway, bridge, culvert, sidewalk, building or other Village property being defective, out of repair, unsafe, dangerous or obstructed unless written notice of such defective, unsafe, dangerous or obstructed condition of such highway, bridge or culvert was actually given to the Village Clerk or Village Superintendent of Public Works and there was a failure or neglect within a reasonable time after giving such notice to repair or remove the defect, danger or obstruction complained of; no civil action shall be maintained for damages or injuries to person or property sustained solely in consequence of the existence of snow or ice upon any highway, bridge, culvert or sidewalk unless written notice thereof, specifying the particular place, was actually given to the Village Clerk or Village Superintendent of Public Works and there was a failure or neglect to cause snow or ice to be removed or to make the place otherwise reasonably safe within a reasonable time after the receipt of such notice.