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

Create "ExceptionContext" class

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      The implementation of the customization of error messages will be moved from "MathRuntimeException" to a new "ExceptionContext" class.
      Every exception class will implement an "ExceptionContextProvider" interface.
      The purpose is to allow Commons Math exceptions to inherit from each of the Java standard exceptions (IAE, UOE, ISE, ...) while still provide the utility suggested by Jörg (borrowed from [Lang]).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: