RomanNumberFormatError.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 31 Oct 2011 22:19:21 +0000
branchjv
changeset 17892 d86c8bd5ece3
parent 17883 209190914636
child 17910 8d796ca8bd1d
permissions -rw-r--r--
Merged with CVS
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
17892
d86c8bd5ece3 Merged with CVS
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17883
diff changeset
    52
    ^ '$Header: /cvs/stx/stx/libbasic/RomanNumberFormatError.st,v 1.4 2008/08/06 09:53:04 cg Exp $'
17865
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    53
!
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    54
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    55
version_SVN
17892
d86c8bd5ece3 Merged with CVS
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17883
diff changeset
    56
    ^ '$Id: RomanNumberFormatError.st 10729 2011-10-31 22:19:21Z vranyj1 $'
17846
24edc476ac18 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17845
diff changeset
    57
! !
17892
d86c8bd5ece3 Merged with CVS
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17883
diff changeset
    58