Stream.st
branchjv
changeset 20080 093324d7a47c
parent 19892 d1aecb538df5
parent 20065 d029c0ee981f
child 20131 4118d61ddba0
equal deleted inserted replaced
20079:8d884971c2ed 20080:093324d7a47c
   529      to the new error reporting (with real Exceptions).
   529      to the new error reporting (with real Exceptions).
   530 
   530 
   531      It will vanish as soon as the conversion has been done"
   531      It will vanish as soon as the conversion has been done"
   532 
   532 
   533     ^ self
   533     ^ self
       
   534 !
       
   535 
       
   536 errorNotOpen
       
   537     "{ Pragma: +optSpace }"
       
   538 
       
   539     "report an error, that the stream has not been opened"
       
   540 
       
   541     ^ StreamNotOpenError raiseRequestWith:self  "/ in:thisContext sender
       
   542 
       
   543     "Modified: / 8.5.1999 / 20:12:33 / cg"
   534 !
   544 !
   535 
   545 
   536 pastEnd
   546 pastEnd
   537     "someone tried to read after the end of the stream.
   547     "someone tried to read after the end of the stream.
   538      If signalAtEnd == true, raise a signal. If it's false, return nil.
   548      If signalAtEnd == true, raise a signal. If it's false, return nil.