You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2011/05/05 14:43:03 UTC

[jira] [Commented] (MATH-566) Create "ExceptionContext" class

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

Gilles commented on MATH-566:
-----------------------------

Class "ExceptionContext" committed in revision 1099771.
The "MathIllegalArgumentEXception" has been modified as suggested on the dev ML.
If that's OK, I'll change the other exception base classes ("MathArithmeticException", etc.) similarly.

When that's done, I think that "MathThrowable" and "MathRuntimeException" can be removed.


> Create "ExceptionContext" class
> -------------------------------
>
>                 Key: MATH-566
>                 URL: https://issues.apache.org/jira/browse/MATH-566
>             Project: Commons Math
>          Issue Type: Task
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> The implementation of the customization of error messages will be moved from "MathRuntimeException" to a new "ExceptionContext" class.
> Every exception class will implement an "ExceptionContextProvider" interface.
> The purpose is to allow Commons Math exceptions to inherit from each of the Java standard exceptions (IAE, UOE, ISE, ...) while still provide the utility suggested by Jörg (borrowed from [Lang]).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira