Errors and exception handling

We continue with interfaces by concentrating on how to get information about problems behind the interface. Topics covered include exceptions and the basic concepts of exception hierarchy. We will learn to detect and throw exceptions and to understand how they affect programming.

With interfaces the user need to know what kind of error situations may occur so that the error is visible to the user. This is discussed by introducing the concept of exception quarantee and we will learn to understand, what kind of things we can promise for an interface.

Lecture 4: exceptions

Posting submission...