Behavior.st
branchjv
changeset 19899 25b35b705da5
parent 19862 6c010853ea32
parent 19895 107644108896
child 19912 ca84ec5f80a7
--- a/Behavior.st	Fri May 20 06:45:01 2016 +0200
+++ b/Behavior.st	Mon May 23 07:53:04 2016 +0100
@@ -1422,6 +1422,7 @@
 ! !
 
 
+
 !Behavior methodsFor:'RefactoringBrowser'!
 
 realClass
@@ -3029,13 +3030,13 @@
      This is the reverse operation to 'storeOn:'.
 
      WARNING: storeOn: does not handle circular references and multiple
-	      references to the same object.
-	      Use #storeBinary:/readBinaryFrom: for this."
+              references to the same object.
+              Use #storeBinary:/readBinaryFrom: for this."
 
     ^ self
-	readFrom:aStream
-	onError:[ self conversionErrorSignal
-		    raiseWith:aStream errorString:'conversion error for: ' , self name ]
+        readFrom:aStream
+        onError:[ self conversionErrorSignal
+                    raiseWith:aStream errorString:' for: ' , self name ]
 
     "
      |s|
@@ -3101,7 +3102,7 @@
     ^ self
         readFromString:aString
         onError:[ 
-            self conversionErrorSignal raiseErrorString:'expected: ' , self name 
+            self conversionErrorSignal raiseWith:aString errorString:' - expected: ' , self name
         ]
 
     "