A Superior Court judge has tossed out a suit by former Cape May County Prosecutor Robert Taylor, who claimed he was shortchanged on retirement benefits in retaliation for expressing views that irked county elected officials.

Taylor’s suit failed to state a claim on which relief can be granted, Superior Court Judge J. Christopher Gibson of Cape May County said in the Feb. 28 ruling. That was after Taylor said in the suit that he was denied lifetime medical insurance in retirement because he had sided with a union leader in a labor dispute with the county. Taylor also claimed he was shortchanged on retirement benefits in retaliation for his statements to the media about opioid abuse in Cape May County.