commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] Commented: (MATH-447) Create a new "MathRuntimeException"
Date Tue, 30 Nov 2010 22:48:11 GMT


Gilles commented on MATH-447:

I like the code simplification that will result from a single exception hierarchy, rooted
at {{MathRuntimeException}}. But isn't it a problem to loose the connection with the "standard"
semantics: e.g. {{MathIllegalArgumentException}} being a subclass of {{IllegalArgumentException}}?
Or is it sufficient to have a policy stating that "CM will throw an instance of {{MathIllegalArgumentException}}
when encountering an illegal argument"?

> Create a new "MathRuntimeException"
> -----------------------------------
>                 Key: MATH-447
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>             Fix For: 3.0
> A new {{MathRuntimeException}} will serve as a base class for all exception classes that
need to wrap another exception (such as when the wrapped exception is deemed too low-level
to be propagated).
> Since they share the same code, this class can also be the base class of {{MathUserException}}.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message