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
                        |
                        +--IncompatibleMatrixError
                        |
                        +--InfiniteResultError
                        |
                        +--UndefinedResultError
                        |
                        +--ZeroDivide

Package:
stx:libbasic
Category:
Kernel-Exceptions-Errors
Version:
rev: 1.12 date: 2021/11/21 16:00:50
user: cg
file: DomainError.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


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

Also raised when checked-converting numbers to another representation,
and the number cannot be represented.
For example:
    (10 raisedTo:310) asFloatChecked

copyright

COPYRIGHT (c) 2001 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


Instance protocol:

accessing
o  defaultValueIfProceeded

o  defaultValueIfProceeded: aValueOrBlock

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 04:16:17 GMT