Java Driver
  1. Java Driver
  2. JAVA-313

several commands do not call res.throwOnError(), instead make up their own exception

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major - P3 Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.3
    • Component/s: None
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      most likely this is legacy code.
      Problem is that the made up exception is usually not helpful and has no code.

        Activity

        • Comments
        Hide
        auto
        added a comment -

        Author:

        {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

        Message: JAVA-313: several commands do not call res.throwOnError(), instead make up their own exception
        https://github.com/mongodb/mongo-java-driver/commit/e9c3858e4ce91753440add23235a0fad62c46f04

        Show
        auto
        added a comment - Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'} Message: JAVA-313 : several commands do not call res.throwOnError(), instead make up their own exception https://github.com/mongodb/mongo-java-driver/commit/e9c3858e4ce91753440add23235a0fad62c46f04

          People

          • Assignee:
            Antoine Girbal
            Reporter:
            Antoine Girbal
            Participants:
            Last commenter:
            Barrie Segal
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since reply:
              3 years, 4 weeks, 1 day ago
              Date of 1st Reply: