Daniel Forhan
Computer Science Teacher and Java Programmer

Exception handling

Wednesday, February 08, 2006 7:12 PM

This week, in addition to re-visiting the Marine Biology Case Study,  our class wrapped up the unit on exception handling. My students seemed to get a good handle on this topic and it went much smoother than other units we have covered. We did also get into the idea of writing our own exception classes (that extend the Java Exception class) and how we might design them. Then we discussed the benefits of exception handling, and various approaches to handling “tricky code”.

As a side note, I came across a nice article by Heinz Kabutz that couldn't have been timed better. It has an interesting take on exception handling.  He talks about managing exceptions from constructors. Normally I don't  refer my students to his articles as they are usually considered expert-level discussion, but I think this one they handled fine (without exception).


Feedback

No comments posted yet.


Post a comment