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

Create "ExceptionContext" class

Rank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment