Lecture overview -- Keyboard shortcut: 'u'  Source programs in previous lecture -- Keyboard shortcut: 'p'  Source programs in next lecture -- Keyboard shortcut: 'n'  Course home

Source Programs
Exception Handling

The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').

A recursive Factorial function.fac.csSlide context--
An iterative Factorial function.fac3.csSlide context--
An iterative Factorial function with a precondition - not C# 3.0.fac4.csSlide context-Note context
A file copy program.mycopy1.csSlide contextText book contextNote context
A file copy program with excessive error handling.mycopy-error-demo.csSlide contextText book contextNote context
A C# program with an exception.prog.csSlide contextText book contextNote context
A C# program with a handled exception.prog.csSlide contextText book contextNote context
A C# program with an exception handling attempt - not a success.prog.csSlide contextText book contextNote context
A C# program with an exception handling attempt - now successful.prog.csSlide contextText book contextNote context
A C# program with simple propagation of exception handling.prog.csSlide contextText book contextNote context
A C# program with deeper exception propagation chain.prog.csSlide contextText book contextNote context
A throw statement in C#.demo.csSlide contextText book context-
Illustration of try-catch-finally.prog.csSlide contextText book contextNote context
Rethrowing an exception.prog.csSlide contextText book contextNote context
Raising and throwing a new exception.prog.csSlide contextText book contextNote context
Raising and throwing a new exception, propagating original inner exception.prog.csSlide contextText book contextNote context
A Java program - does not compile.CatchOrSpecifyDemo0.javaSlide context-Note context
A Java program - main handles Problem.CatchOrSpecifyDemo1.javaSlide context-Note context
A Java program - main specifies Problem.CatchOrSpecifyDemo2.javaSlide context-Note context

Generated: Monday February 7, 2011, 12:18:36