IT 116: Introduction to Scripting
Class 21

Course Requirements


Tips and Examples


Review


New Material


Microphone

Questions

Are there any questions before I begin?

Solution to Homework 8

I have posted a solution to homework 8 here.

Homework 10

Homework 10 is posted here.

It is due this coming Sunday at 11:59 PM.

Graded Quiz Today

After I finish talking I will pass out the papers for today's graded quiz.

Today's Class

Today I will talk more about exceptions and the try/catch statement.

Course Requirements

Last Change to Homework Script Rules

Tips and Examples

Don't Use with Statements

Review

Errors

Syntax Errors

Logic Errors

Runtime Errors

Exception Objects

Catching Exceptions

Exceptions and Data Validation

Attendance

New Material

The Code in the try Clause

Different Exception Types

Common Exception Types

Handling More Than One Type of Exception

Using the Data in Exception Objects

The else Clause

The finally Clause

Throwing Exceptions in Code

Do No Harm

Class Exercise

Class Quiz