NoModificationError.st
changeset 12490 17e8101ce634
child 12505 09584994ffc7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NoModificationError.st	Thu Nov 05 18:37:27 2009 +0100
@@ -0,0 +1,56 @@
+"
+ 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' }"
+
+ProceedableError 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 := 'change of a readonly object'.
+! !
+
+!NoModificationError class methodsFor:'documentation'!
+
+version_CVS
+    ^ '$Header: /cvs/stx/stx/libbasic/NoModificationError.st,v 1.1 2009-11-05 17:37:27 stefan Exp $'
+! !
+
+NoModificationError initialize!