extend WriteConflictException construction to accept context string

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-11-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A WriteConflictException currently contains a generic message. Generally, this is acceptable because a WriteConflictException is used mostly within a WCE retry loop. In certain cases, the caller may want to include some contextual information in a string format. Extending the WriteConflictException constructor to accept a context string (which will be passed to DBException::addContext()) would be a convenient way to capture this additional information.

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: