But, I'm +1 for the no. 1 plan. -Ed
On Thu, Aug 21, 2008 at 4:48 PM, Edward J. Yoon <[EMAIL PROTECTED]> wrote: > Oh, Good point, > >>> the exception will be catch to call only LOG.error. > > Yes, it should be throwing an runtime exception and stop processing. > > -Ed > > On Thu, Aug 21, 2008 at 8:28 AM, Chanwit Kaewkasi <[EMAIL PROTECTED]> wrote: >> Hello, >> >> In class AbstractMatrix, the exception will be catch to call only LOG.error. >> I would like to discuss a bit more on this issue that how the system >> should do when an exception is thrown. >> But I don't think only logging an error is not enough. >> >> 1. re-throw the exception. This needs changes of the interface, >> probably we could have the new ComputationException class, or >> something. >> 2. throw a runtime expection, and of course JVM will die here. >> >> Regards, >> >> Chanwit >> > > > > -- > Best regards, Edward J. Yoon > [EMAIL PROTECTED] > http://blog.udanax.org > -- Best regards, Edward J. Yoon [EMAIL PROTECTED] http://blog.udanax.org
