Anonymous user
Category:Smalltalk: Difference between revisions
→Exception Handling
Line 435:
[some code] fork "starts a new thread"</lang>
=== Exception
Originally, Smalltalk used an instance based exception handling scheme, where instances of Signal where created and raised. Now, all implementations have moved to class based exceptions, where the raised exception is a subclass of Exception. As instance based exception handling is still useful in some situations (very lightweight, no need to create a class), some dialects continue to support both.
|