[Pharo-users] Proper way of handling multiple exception sections

2013-10-25 Thread Norbert Hartl
I’m thinking about what would be the proper/least annoying way of having multiple exception sections. If I have a code block that can emit two different exceptions is the only way doing it [ [ ... ] on: Exception1 do: [ … ] ] on: Exception2 do: [ … ] on:do: just calls a primitive

Re: [Pharo-users] Proper way of handling multiple exception sections

2013-10-25 Thread Camille Teruel
On 25 oct. 2013, at 13:34, Norbert Hartl norb...@hartl.name wrote: I’m thinking about what would be the proper/least annoying way of having multiple exception sections. If I have a code block that can emit two different exceptions is the only way doing it [ [ ... ] on: Exception1 do: