RomanNumberFormatError.st
author convert-repo
Thu, 05 Jul 2018 03:33:35 +0000
changeset 23197 823c765c176d
parent 11123 c526c52a2cd3
child 17711 39faaaf888b4
permissions -rw-r--r--
update tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     1
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     2
 COPYRIGHT (c) 2002 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     3
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     4
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     5
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     6
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     8
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
     9
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    10
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    11
"
6678
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
NumberFormatError subclass:#RomanNumberFormatError
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
11123
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    18
	category:'Magnitude-Numbers'
6678
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    21
!RomanNumberFormatError class methodsFor:'documentation'!
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    22
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    23
copyright
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    24
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    25
 COPYRIGHT (c) 2002 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    26
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    27
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    28
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    29
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    31
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    32
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    33
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    34
"
11123
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    35
!
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    36
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    37
documentation
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    38
"
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    39
    raised directly, if a roman number cannot be converted to a number.
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    40
    (invalid character or empty string).
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    41
    Also the superclass of more specific errors:
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    42
        BadRomanNumberFormatError 
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    43
            - raised if characters are ok, but out of range (such as MMMMMM)
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    44
        NaiveRomanNumberFormatNotification
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    45
            - raised if a 4 or 9 is encoded as naive roman number (such as IIII)
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    46
"
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6681
diff changeset
    47
! !
6678
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!RomanNumberFormatError class methodsFor:'documentation'!
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
version
11123
c526c52a2cd3 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    52
    ^ '$Header: /cvs/stx/stx/libbasic/RomanNumberFormatError.st,v 1.4 2008-08-06 09:53:04 cg Exp $'
6678
b2d3dad41600 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
! !