Error handling
Cees De Groot
cdegroot at gmail.com
Thu Dec 15 22:00:28 UTC 2005
[ your code ]
on: Error
do: [:ex |
your exception handling code]
note that Error can be in theory any subclass of Notification (IIRC
that's the root of the hierarchy), but Squeak throws most Errors as
Error instances :)
On 12/15/05, Marcus Pedersén <marcus.pedersen at comhem.se> wrote:
>
> Hi!
> How do I catch an error before the debugger does it?
> I want to evaluate and if it means an error I want give the user a respons
> in an morph instead.
> Many thanks in advance!
> Marcus
>
>
>
>
More information about the Squeak-dev
mailing list
|