DomainError.st
author Claus Gittinger <cg@exept.de>
Mon, 08 Jun 2015 21:22:21 +0200
changeset 18465 e9e4bb62235f
parent 7586 63e4900c8931
child 17711 39faaaf888b4
child 21848 8e7b5eba9f90
permissions -rw-r--r--
added isOrdered query
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) 2001 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
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    12
5947
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
"{ Package: 'stx:libbasic' }"
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
ArithmeticError subclass:#DomainError
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	instanceVariableNames:''
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	classVariableNames:''
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	poolDictionaries:''
6218
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    19
	category:'Kernel-Exceptions-Errors'
5947
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
!
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
6218
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    22
!DomainError class methodsFor:'documentation'!
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    23
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    24
copyright
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    25
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    26
 COPYRIGHT (c) 2001 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    27
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    28
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    29
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    30
 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
    31
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    32
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    33
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    34
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    35
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    36
!
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    37
6218
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    38
documentation
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    39
"
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    40
    Raised by certain mathematical functions when the function-args
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    41
    value is not within the allowed domain.
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    42
    For example, 
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    43
        arcSin receiver not in -1..1
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    44
    or
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    45
        log receiver <= 0
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    46
"
f528bf2bcc5f category
Claus Gittinger <cg@exept.de>
parents: 5947
diff changeset
    47
! !
5947
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
6690
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6218
diff changeset
    49
!DomainError class methodsFor:'initialization'!
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6218
diff changeset
    50
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6218
diff changeset
    51
initialize
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6218
diff changeset
    52
    NotifierString := 'domain error'.
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6218
diff changeset
    53
! !
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6218
diff changeset
    54
5947
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
!DomainError class methodsFor:'documentation'!
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
45351eedb5a1 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
version
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6690
diff changeset
    58
    ^ '$Header: /cvs/stx/stx/libbasic/DomainError.st,v 1.4 2003-08-29 19:14:53 cg Exp $'
5947
45351eedb5a1 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
6690
07ef28245da8 notifier now initialized here
Claus Gittinger <cg@exept.de>
parents: 6218
diff changeset
    61
DomainError initialize!