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

RealVectorFormat throws ParseException

    XMLWordPrintableJSON

Details

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

        1. MATH-461.diff
          66 kB
          Gilles Sadowski

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: