StreamNotOpenError.st
changeset 24544 41e1b5b7b308
parent 24509 30658b2817ac
child 25173 9ef97d4ba8ea
--- a/StreamNotOpenError.st	Tue Aug 13 17:53:24 2019 +0200
+++ b/StreamNotOpenError.st	Thu Aug 15 14:05:21 2019 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 2004 by eXept Software AG
               All Rights Reserved
@@ -41,7 +39,7 @@
 !StreamNotOpenError methodsFor:'printing & storing'!
 
 description
-    parameter notEmptyOrNil ifTrue:[
+    (parameter isStream not and:[parameter notEmptyOrNil]) ifTrue:[
         ^ super description, ': ', parameter classNameWithArticle.
     ].
     ^ super description.