ImaginaryResultError.st
author Stefan Vogel <sv@exept.de>
Fri, 20 Jun 2003 09:32:25 +0200
changeset 7435 c5afb1b0fd1b
parent 7401 a692ab84e03d
child 7586 63e4900c8931
permissions -rw-r--r--
Prepare for moving of SubclassInfo to subclass instcar in Class

"{ Package: 'stx:libbasic' }"

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

!ImaginaryResultError class methodsFor:'documentation'!

documentation
"
    Raised by square root functions when the functions-arg is negative,
    so that the result would be imaginary.
    For example, 
        -1 sqrt

    Can be cought (see Complex >> trapImaginary) to automagically convert to Complex)
"
! !

!ImaginaryResultError class methodsFor:'initialize'!

initialize
    NotifierString := 'imaginary result'.
! !

!ImaginaryResultError class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic/ImaginaryResultError.st,v 1.1 2003-06-17 14:04:35 cg Exp $'
! !

ImaginaryResultError initialize!