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

Gilles commented on MATH-447:
-----------------------------

I like the code simplification that will result from a single exception 
hierarchy, rooted at {{MathRuntimeException}}. But isn't it a problem to loose 
the connection with the "standard" semantics: e.g. 
{{MathIllegalArgumentException}} being a subclass of 
{{IllegalArgumentException}}?
Or is it sufficient to have a policy stating that "CM will throw an instance of 
{{MathIllegalArgumentException}} when encountering an illegal argument"?


> Create a new "MathRuntimeException"
> -----------------------------------
>
>                 Key: MATH-447
>                 URL: https://issues.apache.org/jira/browse/MATH-447
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>             Fix For: 3.0
>
>
> A new {{MathRuntimeException}} will serve as a base class for all exception 
> classes that need to wrap another exception (such as when the wrapped 
> exception is deemed too low-level to be propagated).
> Since they share the same code, this class can also be the base class of 
> {{MathUserException}}.

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

Reply via email to