[squeak-dev] CurrentReadOnlySourceFiles annoys me ...

marcel.taeumel Marcel.Taeumel at hpi.de
Wed Dec 16 09:08:54 UTC 2015


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