Lesson 8. Exceptions and Logging
In this lesson you will learn about exceptions and logging. Exceptions in Java are a transfer control mechanism. You generate exceptions to signal problematic conditions in your code. You write code to either acknowledge or handle exceptions that are generated.
Java provides a flexible logging facility that allows you to record information as your application executes. You might choose to log exceptions, interesting occurrences, or events that you want to track.
Things you will learn include:
• checked vs. unchecked (runtime) exceptions
• errors vs. exceptions
• the exception hierarchy
• creating your own exception type
• exception messages
• working with multiple exceptions ...