Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6861385

Clarify when a subclassed SQLException can be thrown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • cts_5.0
    • core-libs
    • b112
    • generic
    • generic
    • Verified

      Modify the subclassed SQLExceptions so they can be thrown for vendor specific cases not just the defined SQL States

      Change the wording for each SQLException to

      The subclass of SQLException thrown when the SQLState class value
       is 'XXX', or under vendor-specified conditions.

      I modified the following Exceptions:

      SQLDataException
      SQLIntegrityConstraintViolationException
      SQLInvalidAuthorizationSpecException
      SQLNonTransientConnectionException
      SQLSyntaxErrorException
      SQLTransactionRollbackException
      SQLTransientConnectionException

            lancea Lance Andersen
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: