Andreas Raab uploaded a new version of Exceptions to project The Trunk:
http://source.squeak.org/trunk/Exceptions-ar.20.mcz==================== Summary ====================
Name: Exceptions-ar.20
Author: ar
Time: 13 February 2010, 3:12:40.712 pm
UUID: 56c19144-a6f9-d048-9af5-ad568f4d92ed
Ancestors: Exceptions-cmm.19
Adds DuplicateVariableError to indicate that a (class, instance) variable is both used in superclass and subclass.
=============== Diff against Exceptions-cmm.19 ===============
Item was added:
+ ----- Method: DuplicateVariableError>>superclass: (in category 'accessing') -----
+ superclass: aClass
+ "The superclass in which the variable is defined"
+ superclass := aClass!
Item was added:
+ ----- Method: DuplicateVariableError>>variable: (in category 'accessing') -----
+ variable: aString
+ "Name of the duplicate variable"
+ variable := aString!
Item was added:
+ ----- Method: DuplicateVariableError>>isResumable (in category 'testing') -----
+ isResumable
+ ^true!
Item was added:
+ ----- Method: DuplicateVariableError>>variable (in category 'accessing') -----
+ variable
+ "Name of the duplicate variable"
+ ^variable!
Item was added:
+ Error subclass: #DuplicateVariableError
+ instanceVariableNames: 'superclass variable'
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Exceptions-Kernel'!
+
+ !DuplicateVariableError commentStamp: 'ar 2/13/2010 15:05' prior: 0!
+ DuplicateVariableError is signaled when a (class or instance) variable name is used in both super and subclass.!
Item was added:
+ ----- Method: DuplicateVariableError>>superclass (in category 'accessing') -----
+ superclass
+ "The superclass in which the variable is defined"
+ ^superclass!