Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6773 Derby throws plain SQLIntegrityConstraintViolationException
  3. DERBY-6800

Implement DerbySQLIntegrityConstraintViolationException class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 10.12.1.1
    • JDBC
    • None

    Description

      As part of DERBY-6773, we wish to build a new exception class,
      to be named DerbySQLIntegrityConstraintViolationException,
      which extends java.sql.SQLIntegrityConstraintViolationException
      but provides additional methods getConstraintName() and
      getTableName().

      This exception will be thrown by the SQLExceptionFactory classes
      in the client and in the engine, instead of the current code which
      throws SQLIntegrityConstraintViolationException

      Attachments

        1. subPart1.diff
          2 kB
          Abhinav Gupta

        Activity

          People

            mac777 Abhinav Gupta
            bryanpendleton Bryan Pendleton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: