commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-566) Create "ExceptionContext" class
Date Thu, 05 May 2011 12:43:03 GMT

    [ 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

Mime
View raw message