Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1064

Command methods should throw exception

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • API
    • None

    Description

      In DB.java, command() methods should throw on command failure. Currently, it does not throw even if the command fails, which is error prone for users, who have to check for !result.ok().

      Attachments

        Activity

          People

            Unassigned Unassigned
            trisha.gee@10gen.com Trisha Gee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: