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/08/21 17:40:44 UTC
[jira] Updated: (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:all-tabpanel ]
Karl Wettin updated MAHOUT-22:
------------------------------
Fix Version/s: 0.1
> 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
> Fix For: 0.1
>
> 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.