Fundamentals of Computer Science II (CSC-152 2000S)


Class 12: When Things Go Wrong

Back to Lab: Loops. On to Project Design.

Held Friday, February 11, 2000

Overview

Today, we investigate errors and error handling in Java. Java's primary mechanism for error handling is exceptions.

Notes

Contents

Summary


Problems in Programs

Handling Errors

Exceptions and Exception Handling

Using Methods That Throw Exceptions

Optionally-Catchable Exceptions

Throwing Exceptions

Defining Your Own Types of Exceptions


History

Tuesday, 18 January 2000

Friday, 11 February 2000

Back to Lab: Loops. On to Project Design.


Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.

This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS152/2000S/Outlines/outline.12.html

Source text last modified Sun Feb 13 15:49:34 2000.

This page generated on Sat Feb 19 16:08:01 2000 by Siteweaver. Validate this page's HTML.

Contact our webmaster at rebelsky@grinnell.edu