eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DomainError':

Home

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

Class: DomainError


Inheritance:

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

Package:
stx:libbasic
Category:
Kernel-Exceptions-Errors
Version:
rev: 1.5 date: 2017/06/20 10:19:25
user: cg
file: DomainError.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Raised by certain mathematical functions when the function-args
value is not within the allowed domain.
For example, 
    arcSin receiver not in -1..1
or
    log receiver <= 0


Class protocol:

initialization
o  initialize


Instance protocol:

default values
o  defaultResumeValue
the default answer, if no one handles the query and the exception is resumed.
Redefined to return Nan instead of nil.



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 01 May 2024 22:08:13 GMT