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

RealVectorFormat throws ParseException

    Details

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

      Description

      The parseObject(String) method, inherited from the standard Java class Format, throws a checked ParseException.
      A new runtime MathParseException is to be created to be thrown instead when parsing fails. However, this can cause a problem, as explained on the ML.
      I propose that CompositeFormat becomes an instance variable of RealVectorFormat (instead of being a base class) to avoid that pitfall.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: