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.
|