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 ArithmeticException illegalNorm(double norm) {
          return new ArithmeticException("Illegal norm: " + norm);
     }
}
---CUT---

Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to