eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'InfiniteResultError':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: InfiniteResultError


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Exception
         |
         +--Error
            |
            +--ProceedableError
               |
               +--ExecutionError
                  |
                  +--ArithmeticError
                     |
                     +--DomainError
                        |
                        +--InfiniteResultError

Package:
stx:libbasic
Category:
Kernel-Exceptions-Errors
Version:
rev: 1.2 date: 2019/06/04 11:13:58
user: cg
file: InfiniteResultError.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Raised by logarithm functions,
when the function's-arg is not strictly positive,
and the result would be infinite,
or by the asFloat functions, when the receiver is out of range. 

For example,
    0 ln
or,
    3.5e39 asShortFloat

Can be caught (see Number >> trapInfinite:) to automagically convert to INF.
Can also be proceeded, to get an INF.


Class protocol:

initialize
o  initialize



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 07:50:11 GMT