First pull the thing apart and make sure it is dry. Might leave it overnight to completely dry out. Then, use JL_cmdr to wipe the unit completely and reload the OS. If this doesn't help, you have ruined the battery (see link below) or one of the connections.
http://www.blackberryforums.com/show...ight=348+error