A mistaken disclosure during discovery has prompted a class action accusing New Jersey prosecutors of illegally monitoring inmates' phone calls.