NoModificationError.st
author Jan Vrany <jan.vrany@labware.com>
Fri, 03 Dec 2021 12:26:39 +0000
branchjv
changeset 25438 8ee2cac9f9f4
parent 20578 39641ba8d6e0
permissions -rw-r--r--
Add support for (Pharo) `BaselineOfXYZ` packages In order to improve interoperability with Pharo and Tonel packages this commit fixes `ProjectDefinition class >> #definitionClassForPackage:` to allow loading (Tonel) `BaselineOfXYZ` packages.

"
 COPYRIGHT (c) 2002 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 }"

ExecutionError subclass:#NoModificationError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!NoModificationError class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2002 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 someone tries to write to a readonly object which should not be modified.
    e.g. ImmutableString, ImmutableArray or ImmutableByteArray
"
! !

!NoModificationError class methodsFor:'initialization'!

initialize
    NotifierString := 'attempted change of a readonly object'.
! !

!NoModificationError class methodsFor:'documentation'!

version_CVS
    ^ '$Header$'
! !


NoModificationError initialize!