Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9502

SpherePoint throws wrong exception for invalid arguments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • 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

            Activity

            krzys Krzysztof Findeisen created issue -
            krzys Krzysztof Findeisen made changes -
            Field Original Value New Value
            Epic Link DM-8472 [ 28104 ]
            krzys Krzysztof Findeisen made changes -
            Link This issue has to be done before DM-7888 [ DM-7888 ]
            krzys Krzysztof Findeisen made changes -
            Summary SpherePoint throws wrong exception for bad latitudes SpherePoint throws wrong exception for invalid arguments
            krzys Krzysztof Findeisen made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            krzys Krzysztof Findeisen made changes -
            Reviewers John Parejko [ parejkoj ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            Parejkoj John Parejko made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            krzys Krzysztof Findeisen made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]

              People

              Assignee:
              krzys Krzysztof Findeisen
              Reporter:
              krzys Krzysztof Findeisen
              Reviewers:
              John Parejko
              Watchers:
              John Parejko, Krzysztof Findeisen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  CI Builds

                  No builds found.