Jalada home about archive

Exception Handling

26th January 2010

These are lecture notes from my Computer Science course, not a general reference for "Exception Handling"

Ada & exception handling

Java & exception handling

Erlang/OTP (ignore if revising)

Exception propagation

Resumption versus termination

What about no exception handling?

Some languages (C?) return negative integers instead of having exceptions. An exception handler is a bit like a GOTO; which is Very Bad(tm). But in RTS we need error recovery and need to be able to cope with errors and so exception handling gives you a structured way of dealing with that :)

Comments

blog comments powered by Disqus