InvalidWriteError.st
author Stefan Vogel <sv@exept.de>
Tue, 28 Apr 2020 14:37:04 +0200
changeset 25369 b3d232a613c9
parent 25175 9aa9e229640b
permissions -rw-r--r--
#BUGFIX by stefan class: OrderedCollection class added: #newWithCapacity: changed: #with: (send #newWithCapacity: instead of #new:) Fix TextView selection bug, where an empty line was always prepended to the selection (bug has been introduced in last version).

"
 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 }"

WriteError subclass:#InvalidWriteError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!InvalidWriteError 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.
"
!

documentation
"
    raised when writing to readonly streams
"
! !

!InvalidWriteError class methodsFor:'initialization'!

initialize
    NotifierString := 'stream does not support writing'.
! !

!InvalidWriteError methodsFor:'printing & storing'!

description
    ^ super description, ': ', parameter classNameWithArticle
! !

!InvalidWriteError class methodsFor:'documentation'!

version
    ^ '$Header$'
! !


InvalidWriteError initialize!