[Pharo-project] Improving Pharo's Exception Hierarchy

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Apr 14 22:29:37 CEST 2011


ok tx

On Apr 14, 2011, at 8:27 PM, Miguel Cobá wrote:

> El jue, 14-04-2011 a las 20:13 +0200, Stéphane Ducasse escribió:
>> Dale 
>> 
>> so it means that I write what?
>> 
>> [] on: NumericError do: [:ex | ]
>> 
>> how do I access the rangeError?
> 
> [] on: NumericError do: [ :ex | ex reasonCode "This gets you #rangeError
> or any other symbol to detail the exception" ]
> 
> Cheers
> 
> 
> -- 
> Miguel Cobá
> http://twitter.com/MiguelCobaMtz
> http://miguel.leugim.com.mx
> 
> 
> 
> 




More information about the Pharo-project mailing list