The Iraqi prime minister 's office says the journalist who threw his shoes at U.S. President George Bush has apologized .