incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chanwit Kaewkasi" <chan...@gmail.com>
Subject Expected behaviour when things go wrong
Date Wed, 20 Aug 2008 23:28:53 GMT
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

Mime
View raw message