Re: [math] NaN vs. Exception Revisited

2003-06-11 Thread Mark R. Diggory
Tim O'Brien wrote: I think your usage of Convergence Exception is appropriate in your case. In your case your waiting for the method to return, if it fails to converge, you need to know why, there may be different reasons, and its an "exceptional case" which probibly terminates the whole proces

Re: [math] NaN vs. Exception Revisited (was: Re: [math] proposedordering for task list, scope of initial release)

2003-06-11 Thread Tim O'Brien
> I think your usage of Convergence Exception is appropriate in your case. > In your case your waiting for the method to return, if it fails to > converge, you need to know why, there may be different reasons, and its > an "exceptional case" which probibly terminates the whole process in the >

[math] NaN vs. Exception Revisited (was: Re: [math] proposed orderingfor task list, scope of initial release)

2003-06-11 Thread Mark R. Diggory
Brent Worden wrote: -Original Message- From: Phil Steitz [mailto:[EMAIL PROTECTED] There are several approaches to design a concept for exceptions, all of which have pros and cons. I personally would suggest to avoid returning NaNs and throwing RuntimeExceptions whereever possible and use