Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1117

SQLException can lose stacktrace in some cases.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • Network Client
    • None

    Description

      cause is being lost in the following constructor in SqlException

      public SqlException(LogWriter logwriter,
      MessageId msgid, Object[] args, Throwable cause)

      { this( logwriter, msgutil_.getCompleteMessage( msgid.msgid, args), ExceptionUtil.getSQLStateFromIdentifier(msgid.msgid), ExceptionUtil.getSeverityFromIdentifier(msgid.msgid)); }

      maybe we should add setThrowable(cause) so we dont lose track of it.

      Attachments

        Activity

          People

            davidvc David Van Couvering
            skambha Sunitha Kambhampati
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: