Yes, they were Gentile exceptions, why? Because they believed the servant Jonah that God sent to preach to them. They heeded the message proclaimed and believed in God, from the greatest of them to the least of them. When you read the entire accounting, you find not only did Jonah not want to go and preach to them, but that he actually tried to run away from God. This was the attitude of Jews of Old, who believed only the nation of Israel was worthy of God's blessings. It was not until Christ came to earth a man that the Gospel was to be sent unto all the nations of the earth, who, like the Gentiles of Nineveh sat in darkness and in bondage to fear of death. It was fear of death (being overthrown/perishing) by God that moved their hearts to believe God and repent of their evil ways.
Jonah 1:2 (KJV) Arise, go to Nineveh, that great city, and cry against it; for their wickedness is come up before me.
Jonah 3:1-2 (KJV) And the word of the LORD came unto Jonah the second time, saying, Arise, go unto Nineveh, that great city, and preach unto it the preaching that I bid thee.
Jonah 3:3-5 (KJV) So Jonah arose, and went unto Nineveh, according to the word of the LORD. Now Nineveh was an exceeding great city of three days' journey. And Jonah began to enter into the city a day's journey, and he cried, and said, Yet forty days, and Nineveh shall be overthrown. So the people of Nineveh believed God, and proclaimed a fast, and put on sackcloth, from the greatest of them even to the least of them.
Jonah 3:6-10 (KJV) For word came unto the king of Nineveh, and he arose from his throne, and he laid his robe from him, and covered him with sackcloth, and sat in ashes. And he caused it to be proclaimed and published through Nineveh by the decree of the king and his nobles, saying, Let neither man nor beast, herd nor flock, taste any thing: let them not feed, nor drink water: But let man and beast be covered with sackcloth, and cry mightily unto God: yea, let them turn every one from his evil way, and from the violence that is in their hands. Who can tell if God will turn and repent, and turn away from his fierce anger, that we perish not? And God saw their works, that they turned from their evil way; and God repented of the evil, that he had said that he would do unto them; and he did it not.