You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Karl Wettin (JIRA)" <ji...@apache.org> on 2008/04/02 14:55:28 UTC
[jira] Commented: (MAHOUT-22) Several matrix exceptions are checked
exceptions, but should be unchecked
[ https://issues.apache.org/jira/browse/MAHOUT-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584551#action_12584551 ]
Karl Wettin commented on MAHOUT-22:
-----------------------------------
I'll commit this tomorrow given there are no more comments.
> Several matrix exceptions are checked exceptions, but should be unchecked
> -------------------------------------------------------------------------
>
> Key: MAHOUT-22
> URL: https://issues.apache.org/jira/browse/MAHOUT-22
> Project: Mahout
> Issue Type: Bug
> Reporter: Ted Dunning
> Assignee: Karl Wettin
> Priority: Minor
> Attachments: MAHOUT-22.patch
>
>
> IndexException and CardinalityException should be unchecked exceptions by analogy to ArrayIndexOutOfBoundsException
> Having them be checked causes lots of try/catches in code that doesn't have a chance of fixing the problem. It should be understood that these can happen in any matrix manipulation code just like IllegalArgumentException, ArithmeticException or ArrayIndexOutOfBoundsException can happen in any numerical codes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.