[squeak-dev] CurrentReadOnlySourceFiles annoys me ...

Levente Uzonyi leves at caesar.elte.hu
Wed Dec 16 12:23:54 UTC 2015


CurrentReadOnlySourceFiles could have been a ProcessLocalVariable, but at 
the time I added it, there were no PLVs in the Trunk. Changing it to PLV 
is possible, but it would take some effort.

Catching all exceptions doesn't sound like a good idea. Why would you want 
to do that?

Levente

On Wed, 16 Dec 2015, marcel.taeumel wrote:

> Hi there!
>
> The following snippet does not work:
>
> [(Morph >> #submorphCount) getSource]
> 	on: Exception
> 	do: [:ex | ]
>
> Because "CurrentReadOnlySourceFiles" is a subclass of Exception. This
> smells. Does somebody know, why?
>
> Rationale: I want to catch all exceptions in some silently but frequently
> called method.
>
> Best,
> Marcel
>
>
>
> --
> View this message in context: http://forum.world.st/CurrentReadOnlySourceFiles-annoys-me-tp4867253.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>


More information about the Squeak-dev mailing list