In Islam, the woman doesn't have the right of divorce. She can only 'request' a divorce, and then it's either up to the husband to declare the divorce, or a judge to make a decision. No divorce is in place on a woman's words, alone.
The second issue is that there is no (proper) swearing in Islam except by Allah. Any swear done on anything else is not really valid.