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:35:03 UTC
[jira] [Created] (MATH-566) Create "ExceptionContext" class
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
[jira] [Commented] (MATH-566) Create "ExceptionContext" class
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064635#comment-13064635 ]
Gilles commented on MATH-566:
-----------------------------
Removed "MathRuntimeException" in revision 1146099.
> 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
[jira] [Resolved] (MATH-566) Create "ExceptionContext" class
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles resolved MATH-566.
-------------------------
Resolution: Fixed
> 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
[jira] [Commented] (MATH-566) Create "ExceptionContext" class
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100251#comment-13100251 ]
Gilles commented on MATH-566:
-----------------------------
Removed "MathThrowable" in revision 1166646.
> 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
[jira] [Commented] (MATH-566) Create "ExceptionContext" class
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (MATH-566) Create "ExceptionContext" class
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030740#comment-13030740 ]
Gilles commented on MATH-566:
-----------------------------
Remaining exception classes modified in revision 1101029.
> 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