Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-23 Thread Gilles
On Wed, 23 Dec 2015 14:08:13 -0600, Ole Ersoy wrote: A few drawbacks to having IAE thrown by CM is that it complicates and blurres things for those designing a handler that catches all CM exceptions. CM advertising a factory that throws each exception 'type' under globally unique conditions mini

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-23 Thread Ole Ersoy
A few drawbacks to having IAE thrown by CM is that it complicates and blurres things for those designing a handler that catches all CM exceptions. CM advertising a factory that throws each exception 'type' under globally unique conditions minimizes root cause analysis time and indirection. Th

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-23 Thread Thomas Neidhart
On 12/23/2015 05:39 PM, Gilles wrote: > On Wed, 23 Dec 2015 16:26:52 +0100, Thomas Neidhart wrote: >> On 12/21/2015 04:41 AM, Gilles wrote: >>> On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: On 12/19/15 9:02 AM, Gilles wrote: > Hi. > > While experimenting on > https:/

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-23 Thread Gilles
On Wed, 23 Dec 2015 16:26:52 +0100, Thomas Neidhart wrote: On 12/21/2015 04:41 AM, Gilles wrote: On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: On 12/19/15 9:02 AM, Gilles wrote: Hi. While experimenting on https://issues.apache.org/jira/browse/MATH-1300 I created a new JDKRandomGe

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-23 Thread Thomas Neidhart
On 12/21/2015 04:41 AM, Gilles wrote: > On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: >> On 12/19/15 9:02 AM, Gilles wrote: >>> Hi. >>> >>> While experimenting on >>> https://issues.apache.org/jira/browse/MATH-1300 >>> I created a new >>> JDKRandomGeneratorTest >>> that inherits from >

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-22 Thread Gilles
On Mon, 21 Dec 2015 12:41:01 -0700, Phil Steitz wrote: On 12/21/15 11:16 AM, Gilles wrote: On Mon, 21 Dec 2015 10:01:33 -0700, Phil Steitz wrote: On 12/21/15 8:21 AM, Gilles wrote: On Mon, 21 Dec 2015 06:06:16 -0700, Phil Steitz wrote: On 12/20/15 8:41 PM, Gilles wrote: On Sat, 19 Dec 2015 1

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-22 Thread Phil Steitz
On 12/22/15 1:54 AM, Luc Maisonobe wrote: > Hi all, > > Le 21/12/2015 20:41, Phil Steitz a écrit : >> On 12/21/15 11:16 AM, Gilles wrote: >>> On Mon, 21 Dec 2015 10:01:33 -0700, Phil Steitz wrote: On 12/21/15 8:21 AM, Gilles wrote: > On Mon, 21 Dec 2015 06:06:16 -0700, Phil Steitz wrote: >

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-22 Thread Luc Maisonobe
Le 22/12/2015 17:44, Ole Ersoy a écrit : > > . > >> One of the point in having exceptions that extends our own root >> exception is that users at higher level can catch this top level. >> Currently, we don't even advertise properly what we throw. We even >> miss to forward upward some exceptions

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-22 Thread Ole Ersoy
. One of the point in having exceptions that extends our own root exception is that users at higher level can catch this top level. Currently, we don't even advertise properly what we throw. We even miss to forward upward some exceptions thrown at low level in the javadoc/signature of out upper

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-22 Thread Luc Maisonobe
Hi all, Le 21/12/2015 20:41, Phil Steitz a écrit : > On 12/21/15 11:16 AM, Gilles wrote: >> On Mon, 21 Dec 2015 10:01:33 -0700, Phil Steitz wrote: >>> On 12/21/15 8:21 AM, Gilles wrote: On Mon, 21 Dec 2015 06:06:16 -0700, Phil Steitz wrote: > On 12/20/15 8:41 PM, Gilles wrote: >> On S

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-21 Thread Phil Steitz
On 12/21/15 11:16 AM, Gilles wrote: > On Mon, 21 Dec 2015 10:01:33 -0700, Phil Steitz wrote: >> On 12/21/15 8:21 AM, Gilles wrote: >>> On Mon, 21 Dec 2015 06:06:16 -0700, Phil Steitz wrote: On 12/20/15 8:41 PM, Gilles wrote: > On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: >> O

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-21 Thread Gilles
On Mon, 21 Dec 2015 10:01:33 -0700, Phil Steitz wrote: On 12/21/15 8:21 AM, Gilles wrote: On Mon, 21 Dec 2015 06:06:16 -0700, Phil Steitz wrote: On 12/20/15 8:41 PM, Gilles wrote: On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: On 12/19/15 9:02 AM, Gilles wrote: Hi. While experimenti

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-21 Thread Phil Steitz
On 12/21/15 8:21 AM, Gilles wrote: > On Mon, 21 Dec 2015 06:06:16 -0700, Phil Steitz wrote: >> On 12/20/15 8:41 PM, Gilles wrote: >>> On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: On 12/19/15 9:02 AM, Gilles wrote: > Hi. > > While experimenting on > https://issues.ap

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-21 Thread Gilles
On Mon, 21 Dec 2015 06:06:16 -0700, Phil Steitz wrote: On 12/20/15 8:41 PM, Gilles wrote: On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: On 12/19/15 9:02 AM, Gilles wrote: Hi. While experimenting on https://issues.apache.org/jira/browse/MATH-1300 I created a new JDKRandomGenerator

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-21 Thread Phil Steitz
On 12/20/15 8:41 PM, Gilles wrote: > On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: >> On 12/19/15 9:02 AM, Gilles wrote: >>> Hi. >>> >>> While experimenting on >>> https://issues.apache.org/jira/browse/MATH-1300 >>> I created a new >>> JDKRandomGeneratorTest >>> that inherits from >>>

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-20 Thread Gilles
On Sat, 19 Dec 2015 11:35:26 -0700, Phil Steitz wrote: On 12/19/15 9:02 AM, Gilles wrote: Hi. While experimenting on https://issues.apache.org/jira/browse/MATH-1300 I created a new JDKRandomGeneratorTest that inherits from RandomGeneratorAbstractTest similarly to the classes for testing a

Re: [Math] Exceptions from "JDKRandomGenerator"

2015-12-19 Thread Phil Steitz
On 12/19/15 9:02 AM, Gilles wrote: > Hi. > > While experimenting on > https://issues.apache.org/jira/browse/MATH-1300 > I created a new > JDKRandomGeneratorTest > that inherits from > RandomGeneratorAbstractTest > similarly to the classes for testing all the other RNG implemented > in CM. > >

[Math] Exceptions from "JDKRandomGenerator"

2015-12-19 Thread Gilles
Hi. While experimenting on https://issues.apache.org/jira/browse/MATH-1300 I created a new JDKRandomGeneratorTest that inherits from RandomGeneratorAbstractTest similarly to the classes for testing all the other RNG implemented in CM. The following tests (implemented in the base class) f