Re: [Geometry] Exceptions hierarchy

2019-12-03 Thread Matt Juntunen
From: Gilles Sadowski Sent: Tuesday, December 3, 2019 11:42 AM To: Commons Developers List Subject: Re: [Geometry] Exceptions hierarchy Hello. 2019-12-03 17:13 UTC+01:00, Matt Juntunen : > Hello, > > I don't feel like ArithmeticException quite captures all of the possi

Re: [Geometry] Exceptions hierarchy

2019-12-03 Thread Gilles Sadowski
the way of making changes that are backwards BC. Gilles > > -Matt > > > [1] > https://github.com/apache/commons-geometry/blob/master/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/Plane.java#L733 > > ________ &

Re: [Geometry] Exceptions hierarchy

2019-12-03 Thread Matt Juntunen
reed/Plane.java#L733 From: Gilles Sadowski Sent: Thursday, November 28, 2019 8:54 PM To: Commons Developers List Subject: [Geometry] Exceptions hierarchy Hello. Is there any value added by "GeometryException" over the standard "ArithmeticException"? If not,

[Geometry] Exceptions hierarchy

2019-11-28 Thread Gilles Sadowski
Hello. Is there any value added by "GeometryException" over the standard "ArithmeticException"? If not, I'd rather have the public API advertize the latter. We could have an *internal* utility class that instantiates exceptions: ---CUT--- public class ExceptionFactory { public ArithmeticExce