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

Only wrap security-related errors in MongoSecurityException

      Currently, MongoSecurityException is used to wrap all exceptions that are caused by the authentication activity. It is possible (yet, unclear) that this was not the original intent behind the introduction of MongoSecurityException. We need to decide whether we want to change what exceptions and when are thrown by the authentication activity, and potentially, refactor authenticators accordingly. See also this discussion.

      Based on a brief talk with boris.dogadov, my understanding is that in C# the situation regarding their counterpart of MongoSecurityException is similar to what we have.

            Assignee:
            Unassigned Unassigned
            Reporter:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: