On Thu, Sep 25, 2008 at 05:26:22PM -0500, Mark Volkmann wrote:
Can someone point me to an example of how to raise and handle exceptions in Squeak Smalltalk? My Googling came up empty.
Look at class Exception. Here are a couple of doits to get you started. Try printing them:
[self error: 'haha'] on: Error do: [:ex | ex return: ex messageText]. ArithmeticError signal.