Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@locus.apache.org Received: (qmail 82705 invoked from network); 8 Sep 2008 01:33:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Sep 2008 01:33:05 -0000 Received: (qmail 9797 invoked by uid 500); 8 Sep 2008 01:33:03 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 9785 invoked by uid 500); 8 Sep 2008 01:33:03 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 9763 invoked by uid 99); 8 Sep 2008 01:33:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Sep 2008 18:33:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 01:32:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C5A3234C1B2 for ; Sun, 7 Sep 2008 18:32:44 -0700 (PDT) Message-ID: <21213564.1220837564495.JavaMail.jira@brutus> Date: Sun, 7 Sep 2008 18:32:44 -0700 (PDT) From: "Edward J. Yoon (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Updated: (HAMA-39) Defining exception policies In-Reply-To: <1054580720.1219325684202.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-39: ------------------------------- Status: Open (was: Patch Available) > Defining exception policies > ---------------------------- > > Key: HAMA-39 > URL: https://issues.apache.org/jira/browse/HAMA-39 > Project: Hama > Issue Type: Improvement > Components: interface > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.1.0 > > Attachments: HAMA-39.patch > > > Each operations should have a throws clause. > ---- > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.