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.6 date: 2021/11/21 16:00:57
user: cg
file: InfiniteResultError.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Raised eg. 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.

copyright

COPYRIGHT (c) 2017 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

accessing
o  defaultNotifierString



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 01:16:30 GMT