[Newbies] How to create new exception

Randal L. Schwartz merlyn at stonehenge.com
Sun Oct 12 14:51:33 UTC 2008


>>>>> "Alex" == Alex Chi <alex_chi99 at yahoo.com> writes:

Alex> Can you give me an example on how to create new exception and call/use
Alex> that exception in my program? I try to googling but don't seem to find
Alex> one. Thanks.

See if this helps.

  http://www.cincomsmalltalk.com/userblogs/cincom/digest?content=2001-files-exceptions

It's a bit dated but it might give you the information you need.
Even uses #on:do: like the ANSI standard suggests.

-- 
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.vox.com/ for Smalltalk and Seaside discussion


More information about the Beginners mailing list