<b>=============== Summary ===============</b><br>
<br>
Change Set:        deprecateExceptions<br>
Date:            7 November 2021<br>
Author:            Christoph Thiede<br>
<br>
This change set cleans up several unused exceptions. The classes Abort and ExceptionAboutToReturn are deleted. The classes EndOfStream, FontSubstitutionDuringLoading, NanError, and UndeclaredVariableReference are deprecated.<br>
See http://forum.world.st/Dead-exceptions-td5121827.html.<br>
(Finally! This tab has been waiting in my browser for me for almost 14 months...)<br>
<br>
<b>=============== Diff ===============</b><br>
<br>
<b>Abort (removed)</b><br>
<s><font color="#0000FF">- Exception subclass: #Abort<br>
-     instanceVariableNames: ''<br>
-     classVariableNames: ''<br>
-     poolDictionaries: ''<br>
-     category: 'System-Exceptions'<br>
- <br>
- Abort class <br>
-     instanceVariableNames: ''<br>
- <br>
- ""</font></s><br>
<br>
<b>ChangeSet>>fileOutOn: {fileIn/Out} · ct 11/7/2021 16:44 (changed)</b><br>
fileOutOn: stream <br>
    "Write out all the changes the receiver knows about"<br>
<br>
    | classList traits classes traitList list |<br>
    (self isEmpty and: [stream isKindOf: FileStream])<br>
        ifTrue: [self inform: 'Warning: no changes to file out'].<br>
        <br>
<s><font color="#0000FF">-     traits := self changedClasses reject: [:each | each isBehavior].<br>
</font></s><font color="#FF0000">+     traits := self changedClasses select: [:each | each isTrait].<br>
</font>    classes := self changedClasses select: [:each | each isBehavior].<br>
    traitList := self class traitsOrder: traits asOrderedCollection.<br>
    classList := self class superclassOrder: classes asOrderedCollection.<br>
    list := OrderedCollection new<br>
        addAll: traitList;<br>
        addAll: classList;<br>
        yourself.<br>
    <br>
    "First put out rename, max classDef and comment changes."<br>
    list do: [:aClass | self fileOutClassDefinition: aClass on: stream].<br>
<br>
    "Then put out all the method changes"<br>
    list do: [:aClass | self fileOutChangesFor: aClass on: stream].<br>
<br>
    "Finally put out removals, final class defs and reorganization if any"<br>
    list reverseDo: [:aClass | self fileOutPSFor: aClass on: stream].<br>
<br>
    self classRemoves sort do:<br>
        [:aClassName | stream nextChunkPut: 'Smalltalk removeClassNamed: #', aClassName; cr].<br>
<br>
<b>EndOfStream (changed)</b><br>
Error subclass: #EndOfStream<br>
    instanceVariableNames: ''<br>
    classVariableNames: ''<br>
    poolDictionaries: ''<br>
<s><font color="#0000FF">-     category: 'Collections-Exceptions'<br>
</font></s><font color="#FF0000">+     category: '60Deprecated-Collections-Exceptions'<br>
</font><br>
EndOfStream class <br>
    instanceVariableNames: ''<br>
<br>
"Signalled when ReadStream>>next encounters a premature end."<br>
<br>
<b>ExceptionAboutToReturn (removed)</b><br>
<s><font color="#0000FF">- Notification subclass: #ExceptionAboutToReturn<br>
-     instanceVariableNames: ''<br>
-     classVariableNames: ''<br>
-     poolDictionaries: ''<br>
-     category: 'Kernel-Exceptions-Kernel'<br>
- <br>
- ExceptionAboutToReturn class <br>
-     instanceVariableNames: ''<br>
- <br>
- ""</font></s><br>
<br>
<b>FontSubstitutionDuringLoading (changed)</b><br>
Notification subclass: #FontSubstitutionDuringLoading<br>
    instanceVariableNames: 'familyName pixelSize'<br>
    classVariableNames: ''<br>
    poolDictionaries: ''<br>
<s><font color="#0000FF">-     category: 'Etoys-Squeakland-System-Support'<br>
</font></s><font color="#FF0000">+     category: '60Deprecated-Etoys-Squeakland-System-Support'<br>
</font><br>
FontSubstitutionDuringLoading class <br>
    instanceVariableNames: ''<br>
<br>
"signaled by font loading code when reading a DiskProxy that calls for a missing font."<br>
<br>
<b>NaNError (changed)</b><br>
ArithmeticError subclass: #NaNError<br>
    instanceVariableNames: ''<br>
    classVariableNames: ''<br>
    poolDictionaries: ''<br>
<s><font color="#0000FF">-     category: 'Kernel-Numbers-Exceptions'<br>
</font></s><font color="#FF0000">+     category: '60Deprecated-Kernel-Numbers-Exceptions'<br>
</font><br>
NaNError class <br>
    instanceVariableNames: ''<br>
<br>
"NaNError is signaled by various operations that would either result in or operate on an NaN input."<br>
<br>
<b>UndeclaredVariableReference (changed)</b><br>
Notification subclass: #UndeclaredVariableReference<br>
    instanceVariableNames: 'parser varName varStart varEnd'<br>
    classVariableNames: ''<br>
    poolDictionaries: ''<br>
<s><font color="#0000FF">-     category: 'Compiler-Support'<br>
</font></s><font color="#FF0000">+     category: '60Deprecated-Compiler-Support'<br>
</font><br>
UndeclaredVariableReference class <br>
    instanceVariableNames: ''<br>
<br>
""<br>
<br>
<br>
<font color="#808080">---<br>
</font><font color="#808080"><i>Sent from </i></font><font color="#808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></font>