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
Priority: Minor
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.