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: [email protected]
For additional commands, e-mail: [email protected]