[
https://issues.apache.org/jira/browse/MATH-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931899#action_12931899
]
Gilles commented on MATH-440:
-----------------------------
I'm not sure I understand what the problem is but as the recent exchange on the
dev ML has shown, there was some misunderstanding, which is now cleared, I
think.
Thus, USER_EXCEPTION is the "general" message that will always appear even if
the user calls the default constructor to instantiate a {{MathUserException}}.
In the constructor that takes a pattern, it is going to format the "specific"
part of the message log.
I didn't include a constructor with 2 {{Localizable}} to avoid convoluted
explanations...
> 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.