307x Filetype PDF File size 0.95 MB Source: faculty.ksu.edu.sa
Concepts of Programming Languages
Lecture 19 - Exception Handling
Patrick Donnelly
MontanaState University
Spring 2014
Patrick Donnelly (Montana State University) Concepts of Programming Languages Spring 2014 1/ 37
Administrivia
Assignments:
Programming #4 : due 04.28
Reading:
Chapter 14
Patrick Donnelly (Montana State University) Concepts of Programming Languages Spring 2014 2/ 37
Ishmael: Surely all this is not without meaning.
MobyDickbyHermanMelville
Patrick Donnelly (Montana State University) Concepts of Programming Languages Spring 2014 3/ 37
In a language without exception handling
Whenanexceptionoccurs, control goes to the operating system,
where a message is displayed and the program is terminated
In a language with exception handling
Whenanexceptionoccurs, control goes to the operating system,
where a message is displayed and the program is terminated
Purpose
To simplify programming and make applications more robust.
Whatdoesrobustmean?
Patrick Donnelly (Montana State University) Concepts of Programming Languages Spring 2014 4/ 37
no reviews yet
Please Login to review.