category changes
authorClaus Gittinger <cg@exept.de>
Wed, 06 Aug 2008 11:53:04 +0200
changeset 11123 c526c52a2cd3
parent 11122 818cad3e5d40
child 11124 07f38b03a137
category changes
RomanNumberFormatError.st
--- a/RomanNumberFormatError.st	Wed Aug 06 11:53:01 2008 +0200
+++ b/RomanNumberFormatError.st	Wed Aug 06 11:53:04 2008 +0200
@@ -9,14 +9,13 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
 "{ Package: 'stx:libbasic' }"
 
 NumberFormatError subclass:#RomanNumberFormatError
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:''
-	category:'Kernel-Exceptions-Errors'
+	category:'Magnitude-Numbers'
 !
 
 !RomanNumberFormatError class methodsFor:'documentation'!
@@ -33,10 +32,22 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
+!
+
+documentation
+"
+    raised directly, if a roman number cannot be converted to a number.
+    (invalid character or empty string).
+    Also the superclass of more specific errors:
+        BadRomanNumberFormatError 
+            - raised if characters are ok, but out of range (such as MMMMMM)
+        NaiveRomanNumberFormatNotification
+            - raised if a 4 or 9 is encoded as naive roman number (such as IIII)
+"
 ! !
 
 !RomanNumberFormatError class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/RomanNumberFormatError.st,v 1.3 2003-08-29 19:14:44 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/RomanNumberFormatError.st,v 1.4 2008-08-06 09:53:04 cg Exp $'
 ! !