|
After taking this course, you will know how to handle runtime errors in Java programs. The course shows how to use a try/catch/finally block to add an exception handling routine that will monitor for program errors and respond to them.
Objectives:
After completing this course, students will be able to:
- Describe how exceptions are handled in the Java runtime environment
- Write try/catch/finally blocks to monitor for exceptions and handle them
- Manually throw an exception
- Use Java's built-in exceptions
- Create your own exceptions
Topics:
- The exception hierarchy
- Uncaught exceptions
- Multiple catch statements
- Nesting try blocks
- Throwing an exception
- Using finally
- The throws clause
- Built-in exceptions
- Exception subclasses
|