Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-663

[GH-411] Implement SQL Anywhere driver exception conversion

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of deeky666:

      Url: https://github.com/doctrine/dbal/pull/411

      Message:

      This fixes the SQL Anywhere driver to implement the new exception conversion.
      The `ExceptionTest::testConnectionException()` test still fails though as exceptions occurring during connect are thrown in `Connection::connect()` which is not caught and transformed into a wrapped `DBALException`. I feel like this is an implementation error in either `Connection` or a false assumption in `ExceptionTest::testConnectionException()`. At least I think this is not a driver problem. Maybe there should be a `DBALException::driverExceptionDuringConnect()` that is called if an exception is raised in `Connection::connect()`.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-411] was closed:
        https://github.com/doctrine/dbal/pull/411

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-411] was closed: https://github.com/doctrine/dbal/pull/411

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: