[Newbies] error handling

Randal L. Schwartz merlyn at stonehenge.com
Tue Apr 12 18:02:01 UTC 2011

>>>>> "Erlis" == Erlis Vidal <erlis at erlisvidal.com> writes:

Erlis> After finishing "Squeak By Example" I have an unanswered question
Erlis> and is about the error handling. I could see in the book how to
Erlis> raise an error with the message error: but what I couldn't find
Erlis> anywhere is how to react when an error occurs.

The Exception framework is quite nice.  Google for "squeak exception
tutorial" and I'm sure you'll find some more details.  I believe there
is also some in-image documentation for the Exception class and its

Here's one http://www.chrisburkert.de/index.php?node_id=73

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion

More information about the Beginners mailing list