TryCatch

Damien Cassou damien.cassou at laposte.net
Fri Nov 25 04:18:36 UTC 2005


> *really* important point; look up the classes inheriting from  
> Exception - use the hierarchybrowser is my advice -  and learn about  
> using the correct form of exception to suit your code. Trapping the  
> generic Exception is likely to cause much pain.
>
> Some reasonable examples of using a more specific exception can be  
> found if you look for all reference to the class ZeroDivide (which is  
> for divide by 0 exceptions, surprise) or FileDoesNotExistException.

I've already read the thread "self error considered harmfull". I'll try 
to remember, thank you


Bye



More information about the Squeak-dev mailing list