Login  Register

Re: Issue 3817 in pharo: make Object >> error: deprecated

Posted by pharo on Mar 15, 2011; 12:21am
URL: https://forum.world.st/Issue-3817-in-pharo-make-Object-error-deprecated-tp3353733p3355440.html


Comment #12 on issue 3817 by [hidden email]: make Object >> error:  
deprecated
http://code.google.com/p/pharo/issues/detail?id=3817

Lets convey that if you have an InvalidArgumentException, that's a bug in  
your code.  There's no way that it can be handled.  It is no useful.  You  
can catch it?  Yes, you can, but what can you do about it?

I'm in favor of using specific errors, where it is useful.

And there are errors you cannot (actually you shouldn't) handle, as the  
InvalidArgumentException.

So, about deprecating Object>>error: I say -1.