Introduction
Exception handling helps your program deal with unexpected problems without crashing. It lets you catch errors and fix them or show a friendly message.
When reading a file that might not exist.
When dividing numbers and the divisor could be zero.
When connecting to a network that might be down.
When converting user input to a number that might be invalid.