I was making some hamburgers when the frying pan started to catch fire, then to put out the fire i threw some water in it, doing that could have, apparently, caused an explosion.
If it was a grease fire, then yes. Grease fire + water = violent reaction. Don't know if you would have died, but you might have suffered some serious burns.