InfiniteResultError.st
changeset 21957 36faf3a1900d
child 24248 68fc63e9cbef
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/InfiniteResultError.st	Mon Jul 03 15:42:40 2017 +0200
@@ -0,0 +1,69 @@
+"
+ 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!