Exception Handling PowerPoint PPT Presentation

presentation player overlay
1 / 2
About This Presentation
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