StreamNotOpenError.st
author Stefan Vogel <sv@exept.de>
Tue, 28 Apr 2020 14:41:21 +0200
changeset 25372 389daab3ee10
parent 25173 9ef97d4ba8ea
permissions -rw-r--r--
#DOCUMENTATION by stefan class: ReadWriteStream category of: #isEmpty #isReadable

"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libbasic' }"

"{ NameSpace: Smalltalk }"

StreamError subclass:#StreamNotOpenError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!StreamNotOpenError class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!StreamNotOpenError class methodsFor:'initialization'!

initialize
    NotifierString := 'stream is not open'.
! !

!StreamNotOpenError methodsFor:'printing & storing'!

description
    (parameter isStream not and:[parameter notEmptyOrNil]) ifTrue:[
        ^ super description, ': ', parameter classNameWithArticle.
    ].
    ^ super description.

    "Modified: / 08-08-2019 / 16:15:17 / Stefan Vogel"
! !

!StreamNotOpenError class methodsFor:'documentation'!

version
    ^ '$Header$'
! !


StreamNotOpenError initialize!