Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-856

Deprecate "NullArgumentException"

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1, 4.0
    • Labels:
      None

      Description

      Discussions on the "dev" ML concluded that "NullArgumentException" was more of a burden to maintain than it brings benefits.

      It will be deprecated in 3.1 and removed in 4.0.

      Checks for "null" in CM code will either be maintained or be removed.

      Whenever checks for "null" are performed, the exception to be thrown is the standard "NullPointerException" (instantiated with the no-arg constructor).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erans Gilles Sadowski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: