[jira] Created: (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
Remove usage of "org.apache.commons.math.MathRuntimeException"
--------------------------------------------------------------

                 Key: MATH-459
                 URL: https://issues.apache.org/jira/browse/MATH-459
             Project: Commons Math
          Issue Type: Improvement
            Reporter: Gilles
            Priority: Minor
             Fix For: 3.0


Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)

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

Gilles commented on MATH-459:
-----------------------------

Class deprecated in MATH_2_X (revision 1044185).


> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Gilles commented on MATH-459:
-----------------------------

Modified {{Vector3D}} (package {{geometry}}) in revision 1056554.


> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Michael Yannakopoulos commented on MATH-459:
--------------------------------------------

Hello Gilles and thanks for the offer... While watching at the packages i can see that in "org.apache.commons.math" there is the class MathRuntimeException. What needs to be done is to create a new package "org.apache.commons.math.exception" where there will be the class MathRuntimeException and then to modify all the other files so as to import the right package when they call for this exception?

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Gilles commented on MATH-459:
-----------------------------

No, that's not it...

But the "dev" mailing list is more suitable for discussion. Are you subscribed to it? If not, please do, and I'll write a message over there with more details about how to handle this task.
Thank you.


> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Michael Yannakopoulos commented on MATH-459:
--------------------------------------------

Yes, i have subscribed to the list... Thanks for the answer! Please explain
to me what needs to be done...


> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

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

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Thomas Neidhart commented on MATH-459:
--------------------------------------

Modified Kurtosis (package stat.descriptive.moment) in r1239793.
               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Thomas Neidhart commented on MATH-459:
--------------------------------------

Modified SpearmansCorrelation and PearsonsCorrelation (package stat.correlation) in r1239802.
               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Thomas Neidhart commented on MATH-459:
--------------------------------------

Modified SimpleRegression and AbstractMultipleLinearRegression (package state.regression) in r1239842.
               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Thomas Neidhart commented on MATH-459:
--------------------------------------

Hi Gilles,

I wanted to help you with this task. I tried to use specific exceptions as much as possible, and only resort to MathIllegalArgumentException if there is no good match. Comments are of course welcome, and if the changes are ok for you I can help with other packages too. There are still quite a lot of MathException uses in util and stat.inference.
               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Issue Comment Edited] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Thomas Neidhart edited comment on MATH-459 at 2/2/12 9:16 PM:
--------------------------------------------------------------

Hi Gilles,

I wanted to help you with this task. I tried to use specific exceptions as much as possible, and only resort to MathIllegalArgumentException if there is no good match. Comments are of course welcome, and if the changes are ok for you I can help with other packages too. There are still quite a lot of MathException and MathRuntimeException uses in util and stat.inference.
               
      was (Author: tn):
    Hi Gilles,

I wanted to help you with this task. I tried to use specific exceptions as much as possible, and only resort to MathIllegalArgumentException if there is no good match. Comments are of course welcome, and if the changes are ok for you I can help with other packages too. There are still quite a lot of MathException uses in util and stat.inference.
                 

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Gilles commented on MATH-459:
-----------------------------

I've not looked in details, but that seems fine. You are certainly welcome to go on. :)

               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Thomas Neidhart commented on MATH-459:
--------------------------------------

Modified OpenIntToFieldHashMap (package util) in r1240280.
               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Thomas Neidhart commented on MATH-459:
--------------------------------------

In r1240340 I have removed the last use of MathRuntimeException in CM.
               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

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

Gilles commented on MATH-459:
-----------------------------

Class "MathRuntimeException" removed in revision 1243460.
               

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (MATH-459) Remove usage of "org.apache.commons.math.MathRuntimeException"

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

     [ https://issues.apache.org/jira/browse/MATH-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-459.
-------------------------

    Resolution: Fixed
   

> Remove usage of "org.apache.commons.math.MathRuntimeException"
> --------------------------------------------------------------
>
>                 Key: MATH-459
>                 URL: https://issues.apache.org/jira/browse/MATH-459
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> Occurrences of {{org.apache.commons.math.MathRuntimeException}} must be replaced by the appropriate class from package {{exception}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira