#QUALITY by stefan
authorStefan Vogel <sv@exept.de>
Fri, 25 Nov 2016 14:54:19 +0100
changeset 17111 d376dcbf683a
parent 17110 45636718d2af
child 17112 0f00fead4c89
#QUALITY by stefan class: FileOperation::Rename avoid OperatingSystem>>#lastErrorNumber
FileOperation.st
--- a/FileOperation.st	Fri Nov 25 13:43:24 2016 +0100
+++ b/FileOperation.st	Fri Nov 25 14:54:19 2016 +0100
@@ -1602,7 +1602,7 @@
                 stringWithCRs:'Cannot rename file %1 to %2 !!\\(%3)'
                 with:oldFile baseName
                 with:newName
-                with:(OperatingSystem lastErrorString).
+                with:ex errorString.
         Dialog warn:msg.
         result := false.
         ^ self.