NaiveRomanNumberFormatNotification.st
changeset 11124 07f38b03a137
parent 7586 63e4900c8931
child 17711 39faaaf888b4
--- a/NaiveRomanNumberFormatNotification.st	Wed Aug 06 11:53:04 2008 +0200
+++ b/NaiveRomanNumberFormatNotification.st	Wed Aug 06 11:53:07 2008 +0200
@@ -9,14 +9,13 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
 "{ Package: 'stx:libbasic' }"
 
 Notification subclass:#NaiveRomanNumberFormatNotification
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:''
-	category:'Kernel-Exceptions-Errors'
+	category:'Magnitude-Numbers'
 !
 
 !NaiveRomanNumberFormatNotification class methodsFor:'documentation'!
@@ -33,10 +32,22 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
+!
+
+documentation
+"
+    raised if a naive roman number is converted.
+    These are the (incorrect) representations for 4, 9, 40, 90 etc.,
+    which use 4 ones (tens, etc) instead of a 5-1 encoding.
+    (such as 'IIII' instead of 'IV')
+
+    This is a notification only - i.e. if not handled, the conversion proceeds
+    and accepts the naive number.
+"
 ! !
 
 !NaiveRomanNumberFormatNotification class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/NaiveRomanNumberFormatNotification.st,v 1.2 2003-08-29 19:14:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/NaiveRomanNumberFormatNotification.st,v 1.3 2008-08-06 09:53:07 cg Exp $'
 ! !