Swear And When in the KJV
2 verses of the King James Version have both "swear" and "when".
Leviticus 5:4 Or if a soul swear, pronouncing with his lips to do evil, or to do good, whatsoever it be that a man shall pronounce with an oath, and it be hid from him; when he knoweth of it, then he shall be guilty in one of these.
Hebrews 6:13 For when God made promise to Abraham, because he could swear by no greater, he sware by himself,