14. Make it a checked exception Client code will take some useful recovery action based on information in exception Make it an unchecked exception Client code cannot do anything Exception type Client's reaction when exception happens
21. Mapping to java exception An unchecked exception A checked exception Best Mapping Programming bugs, hardware malfunctions, configuration mistakes, missing files, unavailable servers Alternative return modes Examples The people who need to fix the problem The upstream code that invokes the method Who cares about it Never rarely Is expected to happen A nasty surprise A part of the design Is considered to be Fault Contingency Condition