A few days ago my iPhone would show the same message despite not being exposed to water. A reboot has fixed it, but that makes me wonder what is the false positive rate on that.
It may have been some sort of short internally, but to me it just meant a defective phone.