[Pharo-project] Improving Pharo's Exception Hierarchy

Miguel Cobá miguel.coba at gmail.com
Thu Apr 14 20:27:33 CEST 2011


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