#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Mon, 14 May 2018 02:36:01 +0200
changeset 22916 ecf1255014d0
parent 22915 fe71dca059bf
child 22917 cefccd43b35a
#FEATURE by cg class: KeyNotFoundError added: #key:
KeyNotFoundError.st
--- a/KeyNotFoundError.st	Sun May 13 20:32:55 2018 +0200
+++ b/KeyNotFoundError.st	Mon May 14 02:36:01 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2001 by eXept Software AG
               All Rights Reserved
@@ -52,6 +54,14 @@
     "
 ! !
 
+!KeyNotFoundError methodsFor:'Compatibility-Squeak'!
+
+key:theBadKey
+    "the index, which was not found"
+
+    parameter := theBadKey
+! !
+
 !KeyNotFoundError methodsFor:'accessing'!
 
 index
@@ -63,7 +73,7 @@
 !KeyNotFoundError class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/KeyNotFoundError.st,v 1.3 2015-03-26 13:21:27 cg Exp $'
+    ^ '$Header$'
 ! !