Fix Version/s: None
Several methods in SpherePoint throw pex::exceptions::OutOfRangeError when fed invalid arguments. Assuming the pex exceptions are intended to mimic the standard C++ exceptions of the same name (see
DM-9435), this is inappropriate – OutOfRangeError should refer to invalid indices, not other cases where an argument falls outside some interval.
These methods should be changed to throw either pex::exceptions::DomainError or pex::exceptions::InvalidParameterError, which apply to generic numerical arguments.
- has to be done before
DM-7888 Implement Point2DList
- Won't Fix