[
https://issues.apache.org/jira/browse/MATH-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931905#action_12931905
]
Luc Maisonobe commented on MATH-440:
------------------------------------
Looking more precisely, it is not possible to have both a one pattern and a two
patterns constructors since they are followed by variable arguments (that would
be ambiguous).
So I would rather have only a two patterns argument (either or both can be
null) to let the user tune his message at will.
> Introducing a "UserException" class
> -----------------------------------
>
> Key: MATH-440
> URL: https://issues.apache.org/jira/browse/MATH-440
> Project: Commons Math
> Issue Type: Improvement
> Reporter: Gilles
> Assignee: Gilles
> Priority: Minor
> Fix For: 2.2
>
>
> After a discussion in MATH-425, it was concluded that a new "UserException"
> could be created and advertised as a privileged channel to convey failure
> information through the CM code layer.
> The usage of this exception is the same as the one intended for the current
> {{FunctionEvaluationException}}, {{MatrixVisitorException}} and
> {{DerivativeException}}, so those classes will be deprecated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.