Of course you will feel pain in the mouth if you have ulcers. However, you mentioned throat instead of mouth. You said that it felt like gum stuck in the throat. Ulcers are indeed painful so maybe it's something else. Why don't you try eating something with alot of roughage and then purging it back up and see if it dislodges. If not then check with an ear, nose, throat doc.