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

Command methods should throw exception

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None

      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().

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

              Created:
              Updated:
              Resolved: