commons-issues mailing list archives

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


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.)

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

> Create "ExceptionContext" class
> -------------------------------
>                 Key: MATH-566
>                 URL:
>             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:

View raw message