UnderflowError.st
author Claus Gittinger <cg@exept.de>
Tue, 09 Jul 2019 20:55:17 +0200
changeset 24417 03b083548da2
parent 21989 e88b6fff98c7
permissions -rw-r--r--
#REFACTORING by exept class: Smalltalk class changed: #recursiveInstallAutoloadedClassesFrom:rememberIn:maxLevels:noAutoload:packageTop:showSplashInLevels: Transcript showCR:(... bindWith:...) -> Transcript showCR:... with:...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
     1
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
     2
 COPYRIGHT (c) 2002 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
     3
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
     4
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
     5
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
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: 6690
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
     8
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
     9
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    10
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    11
"
6687
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
21989
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    14
"{ NameSpace: Smalltalk }"
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    15
6687
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
RangeError subclass:#UnderflowError
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'Kernel-Exceptions-Errors'
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    23
!UnderflowError class methodsFor:'documentation'!
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    24
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    25
copyright
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    26
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    27
 COPYRIGHT (c) 2002 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    28
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    29
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    30
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    31
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    33
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    34
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    35
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    36
"
14871
281b5dc66843 added documentation
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    37
!
281b5dc66843 added documentation
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    38
281b5dc66843 added documentation
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    39
documentation
281b5dc66843 added documentation
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    40
"
21989
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    41
    raised when the function-result overflows the allowed range,
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    42
    or when some other number (fraction) cannot be represented as instance of a particular
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    43
    floating point format (Float underflow).
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    44
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    45
    This error is usually proceedable and 0 is returned as result then.
14871
281b5dc66843 added documentation
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    46
"
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    47
! !
6687
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
6690
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6687
diff changeset
    49
!UnderflowError class methodsFor:'initialization'!
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6687
diff changeset
    50
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6687
diff changeset
    51
initialize
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6687
diff changeset
    52
    NotifierString := 'underflow'.
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6687
diff changeset
    53
! !
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6687
diff changeset
    54
6687
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
!UnderflowError class methodsFor:'documentation'!
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
version
21989
e88b6fff98c7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 14871
diff changeset
    58
    ^ '$Header$'
6687
67110eb2e715 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
! !
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    60
14871
281b5dc66843 added documentation
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    61
6690
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6687
diff changeset
    62
UnderflowError initialize!