Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-22

Several matrix exceptions are checked exceptions, but should be unchecked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.1
    • None
    • None

    Description

      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.

      Attachments

        1. MAHOUT-22.patch
          1 kB
          Ted Dunning

        Activity

          People

            karl.wettin Karl Wettin
            tdunning@veoh.com Ted Dunning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: