SortColl.st
changeset 345 cf2301210c47
parent 329 f14fc5ac11b7
child 348 5ac1b6b43600
--- a/SortColl.st	Fri May 12 14:35:09 1995 +0200
+++ b/SortColl.st	Tue May 16 19:09:45 1995 +0200
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/Attic/SortColl.st,v 1.15 1995-05-01 21:39:18 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/SortColl.st,v 1.16 1995-05-16 17:09:05 claus Exp $
 '!
 
 !SortedCollection class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/Attic/SortColl.st,v 1.15 1995-05-01 21:39:18 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/SortColl.st,v 1.16 1995-05-16 17:09:05 claus Exp $
 "
 !
 
@@ -304,7 +304,7 @@
     "return the element before the argument, anObject; or nil if there is none.
      If the receiver does not contain anObject, report an error"
 
-    ^ self before:anObject ifAbsent:[self errorNotFound]
+    ^ self before:anObject ifAbsent:[self errorNotFound:anObject]
 
     "
      #(7 3 9 10 99) asSortedCollection before:50
@@ -346,7 +346,7 @@
     "return the element after the argument, anObject; or nil if there is none.
      If the receiver does not contain anObject, report an error"
 
-    ^ self after:anObject ifAbsent:[self errorNotFound]
+    ^ self after:anObject ifAbsent:[self errorNotFound:anObject]
 
     "
      #(7 3 9 10 99) asSortedCollection after:50