Police say a 39-year-old man has been taken into custody over the incident in Sydney's Woollahra suburb.