Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-481

adorn methods with noexcept where needed

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      audit the C++11 driver for places that should say noexcept that currently don't, and apply where needed

      Old description:A few methods in the legacy driver have dynamic exception specifiers such as:

      OperationException::~OperationException
      OperationException::what
      sspiClientMechNew
      sspiClientMechStop
      ~DBException::DBException
      DBException::what
      AssertionException::~AssertionException
      SocketException::~SocketException

      we should remove them, and consider replacing with a CXX11_NOEXCEPT macro that is defined to be the 'noexcept' operator on compilers that support it, and a no-op otherwise

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: