Hi Regina,

On Saturday, 2009-07-04 23:52:18 +0200, Regina Henschel wrote:

>>> Or return an error, if neither asymptotic  formula results at least 2 
>>> digits (How tell the user, that the result is  not accurate?)
>>
>> A few functions set errNoConvergence if a function can't determine
>> a result.
>
> I cannot find such an exception, I only find
> throw CSS::lang::IllegalArgumentException()
> and
> throw CSS::uno::RuntimeException()

Argh, I forgot those are Add-In functions. Bah, other exceptions aren't
allowed. Well, use IllegalArgumentException() then. The other
possibility would be to move the code into the core, where
SetError(errNoConvergence) would be possible, but that would pull in
a whole string of changes for the Excel export.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the e...@sun.com account, which I use for
 mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks.

Attachment: pgpGht3L8Oegh.pgp
Description: PGP signature

Reply via email to