commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-461) RealVectorFormat throws ParseException
Date Thu, 23 Dec 2010 17:50:46 GMT
RealVectorFormat throws ParseException
--------------------------------------

                 Key: MATH-461
                 URL: https://issues.apache.org/jira/browse/MATH-461
             Project: Commons Math
          Issue Type: Improvement
            Reporter: Gilles
            Assignee: Gilles
            Priority: Minor
             Fix For: 3.0


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message