Having decent exception for loading code would be good.
Dec. 1, 2013
8:49 p.m.
Hi guys I'm trying to load VW2.5.2 (yes nearly 20 years old code in Pharo and I will introduce a real exception instead of this bad and generic error. What do you think? importFor: requestor (self existsBehavior) ifFalse: [ self error: ('Cannot install method in unexistent behavior {1}' format: { behaviorName asString } ) ]. requestor ifNotNil: [ requestor contents ifNil: [ requestor contents: contents ]]. ^self targetClass compile: contents classified: categoryName withStamp: stamp notifying: requestor Stef
4625
Age (days ago)
4625
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse