commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-575) Exceptions in genetics package or not consistent with the rest of [math]
Date Thu, 02 Feb 2012 11:09:53 GMT

    [ https://issues.apache.org/jira/browse/MATH-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198689#comment-13198689
] 

Gilles commented on MATH-575:
-----------------------------

Phil had always been opposed to having all exceptions grouped in their own package; so I doubt
that he meant to move that one over there... ;-)
Here, the description just indicates that the exception should become _unchecked_ and that
the "detailed message" should be an element from the "LocalizedFormats" enum (i.e. derive
from one of the base CM exceptions).

                
> Exceptions in genetics package or not consistent with the rest of [math]
> ------------------------------------------------------------------------
>
>                 Key: MATH-575
>                 URL: https://issues.apache.org/jira/browse/MATH-575
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.0, 2.1, 2.2
>            Reporter: Phil Steitz
>            Assignee: Thomas Neidhart
>            Priority: Minor
>             Fix For: 3.0
>
>
> InvalidRepresentationException is checked and non-localized.  This exception should be
placed in the [math] hierarchy.  The AbstractListChromosome constructor also throws a non-localised
IAE, which should be replaced by an appropriate [math] exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message