Lecture overview -- Keyboard shortcut: 'u'  Previous page: What is the motivation? -- Keyboard shortcut: 'p'  Next page: What is normal? What is exceptional? -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 3 : 30
Object-oriented Programming in C#
Exception Handling
What is an error?

The word "error" is often used in an undifferentiated way

  • Errors in the design/implementation process

    • Due to a wrong decision at an early point in time - a mental flaw

  • Errors in the source program

    • Illegal use of the programming language

    • Erroneous implementation of an algorithm

  • Errors in the program execution - run time errors

    • Exceptions - followed by potential handling of the exceptions

Errors in the development process may lead to errors in the source program.

Errors in the source program may lead to errors in the running program