db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2199) BaseJDBCTestCase.assertSQLState should preserve the original exception
Date Fri, 22 Dec 2006 10:24:22 GMT
     [ http://issues.apache.org/jira/browse/DERBY-2199?page=all ]

Knut Anders Hatlen updated DERBY-2199:

    Attachment: d2199.diff

Attaching a patch (d2199.diff) which makes assertSQLState() use initCause() to preserve the
original exception, if initCause() is available on that JVM.

> BaseJDBCTestCase.assertSQLState should preserve the original exception
> ----------------------------------------------------------------------
>                 Key: DERBY-2199
>                 URL: http://issues.apache.org/jira/browse/DERBY-2199
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d2199.diff
> If assertSQLState() fails, only the SQLState is preserved. It should also preserve the
original exception so we can see the message and the stack trace.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message