Erhartić represented Serbia and Montenegro at the 2004 Summer Olympics. He participated in one single event - the Men's 200 metre freestyle, in which he took 48th place overall among 59 competitors with a time of 1:54.21.