Exception Handling - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

Exception Handling

Description:

Only information was name of exception. Ada's block structure allowed tight placement: ... Could declare exceptions that might be raised. Ada95 ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 3
Provided by: bobma5
Category:

less

Transcript and Presenter's Notes

Title: Exception Handling


1
Exception Handling
  • Scott book, Section 8.5, pp.464-474
  • PL/I exception handling
  • On Conditions
  • Resume or suspend execution
  • Better than Fortrans error returns from
    subroutines
  • Ada
  • Only information was name of exception
  • Adas block structure allowed tight
    placement declare begin exception end

2
Exception Handling - 2
  • Common Lisp Error System / CLOS
  • Exception was an object
  • C
  • Exceptions are objects
  • Could declare exceptions that might be raised
  • Ada95
  • Exception handling modified for compatibility
    with C
  • Java
  • Exceptions full objects
  • Had to declare which might be raised
Write a Comment
User Comments (0)
About PowerShow.com