Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3179

Move the specific BucketExistsException before the generic CouchBaseException

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.8
    • 3.3.0
    • library
    • None
    • 1

    Description

      PR fro Eugene Berger: https://github.com/couchbase/couchbase-net-client/pull/117

      Expected Behavior:
      When creating a bucket with a name that already exists, the BucketExistsException should be thrown.

      Actual Result:
      When creating a bucket with a name that already exists, the CouchBaseException is thrown.

      How to reproduce:
      Create a bucket with the same name twice:
      ICluster.IBucketManager.CreateBucketAsync(new BucketSettings

      { Name = "NICE_BUCKET"}

      )

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty