Gotta be careful with amounts here -- one time I drunkenly drank tons and tons of water to the point I actually dehydrated myself even further than the alcohol would've. Worst hangover of my life.
Probably you drank way too much "pure" water, and you upset your salt balance. Most likely if you had had some salts in the water you would have been better off (if not fine).