Can you carry hand gun in a water vessel?

Depending on where you are and what you are doing the answer can be yes, no or maybe.