Learning Goal: Learn how to convert a textual input (string) into numeric data types (int, double, etc.) using parsing methods, and understand what happens when conversion fails.
YB08_03: Handling Invalid Input and Input Validation
Learning Goal: Develop strategies to deal with situations where user input is not in the expected format, to prevent program crashes and prompt the user for correct data.
Learning Goal: Learn how to use try and catch blocks to handle exceptions and prevent program crashes, allowing your program to recover or exit gracefully when errors occur.
Learning Goal: Recognize some common exceptions in Java and understand the typical causes of each, so you can identify errors quickly and know how to address them.
YB08_08: Checked vs Unchecked Exceptions, and Throwing Exceptions
Learning Goal: Understand the difference between checked and unchecked exceptions in Java, and learn how to declare exceptions in method signatures or throw exceptions in your own code.