When validating data, I\'ve gotten into a habit of doing the following:
Note: I don\'t really have individual booleans for each check. This is just
In addition to the oft-repeated statement that "exceptions are for exceptional circumstances", here's an additionally clarifying rule I've come to like:
If the user caused it, it's not exceptional.
Exceptions are for system-side things (servers going down, resources being unavailable), not for the user doing odd things, because all users do odd things.