InfiniteResultError.st
author Claus Gittinger <cg@exept.de>
Fri, 12 Apr 2019 05:48:07 +0200
changeset 24063 6193bcaef956
parent 21957 36faf3a1900d
child 24248 68fc63e9cbef
permissions -rw-r--r--
#FEATURE by cg class: Metaclass class: Metaclass class added: #classTemplateFor:in:asNamespace:private:

"
 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.
"
"{ Package: 'stx:libbasic' }"

"{ NameSpace: Smalltalk }"

DomainError subclass:#InfiniteResultError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!InfiniteResultError class methodsFor:'documentation'!

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.
"
!

documentation
"
    Raised by logarithm functions when the function's-arg is not strictly positive,
    so that the result would be infinite.
    For example,
        0 ln

    Can be caught (see Number >> trapInfinite:) to automagically convert to INF
"
! !

!InfiniteResultError class methodsFor:'initialize'!

initialize
    NotifierString := 'infinite result'.

    "Modified: / 03-07-2017 / 15:42:00 / cg"
! !

!InfiniteResultError class methodsFor:'documentation'!

version
    ^ '$Header$'
!

version_CVS
    ^ '$Header$'
! !


InfiniteResultError initialize!