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

[Enhancement] Request for public exception message strings on AbstractIntegerDistribution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.2
    • None
    • None

    Description

      The Strings

      /** Message for endpoints in wrong order. */
      private static final String WRONG_ORDER_ENDPOINTS_MESSAGE =
      "lower endpoint (

      {0}) must be less than or equal to upper endpoint ({1})";

      /** Message for out of range point. */
      private static final String OUT_OF_RANGE_POINT =
      "{0}

      out of [

      {1}

      ,

      {2}

      ] range";

      are private. It would be great if these were public, such that sub classes that override methods could maintain consistent exception messages.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ole Ole Solberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified