- A checked exception is an exception that is checked at compile time.
- An unchecked exception is an exception that is not checked or simply ignored at compile time.
- An overflow exception is raised when high-order bits cannot be assigned to the destination type. In checked mode, OverflowException is raised. In unchecked mode, high-order bits that cannot be assigned are simply ignored.
- An attempt made to access a property or a method on a null object.
- Implement a Validator class and an Attribute class that checks the parameter for null, and that throws ArgumentNullException. You would use the Validator class at the top of your methods so that you don't get halfway through the method before the exception is raised.
- Business Rule Exception (BRE).
- BREs are bad practice because they expect exceptions to be raised in order to control program flow.
- Correct programming should...