Mantis - Squeak
Viewing Issue Advanced Details
4827 Kernel minor always 09-09-06 17:30 07-25-13 10:24
Krivanek  
FrankShearar  
normal  
resolved 3.10  
no change required  
none    
none  
0004827: [KernelImageOverride] FileExistsException defaultAction
FileExistsException >> defaultAction

original:

defaultAction
    "The default action taken if the exception is signaled."


    ^self readOnly
        ifTrue: [StandardFileStream readOnlyFileDoesNotExistUserHandling: self fileName]
        ifFalse: [StandardFileStream fileDoesNotExistUserHandling: self fileName]

override:

defaultAction
    "The default action taken if the exception is signaled."

    ^ UIManager default fileDoesNotExistsDefaultAction: self

Maybe the rising of unhandled error will be better solution for KI than special UIManager message

Notes
(0014422)
FrankShearar   
07-25-13 10:24   
Files-fbs.125 and System-fbs.563 address this by moving the #defaultAction to the System package.