Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:Alert Production S17 - 2
-
Team:Alert Production
Description
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.
Attachments
Issue Links
- has to be done before
-
DM-7888 Implement Point2DList
- Won't Fix