Question about Exception
Ned Konz
ned at bike-nomad.com
Wed Jul 24 17:18:19 UTC 2002
On Wednesday 24 July 2002 10:12 am, Bergel Alexandre wrote:
> Hello,
>
> I am wondering how I could use exception within Squeak. The
> following code does not what I except...
>
> [Exception signal] on: [Exception] do: [:exception| Transcript
> show: 'Exception !';cr]
The first argument to on:do: is supposed to be a class:
[Exception signal] on: Exception do: [:exception| Transcript show:
'Exception !';cr]
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|