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] Closed: (DERBY-2581) Callers of SanityManager.THROWASSERT should chain the exceptions when possible
Date Tue, 24 Apr 2007 08:25:15 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen closed DERBY-2581.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.3.0.0
       Derby Info:   (was: [Patch Available])

Committed revision 531827.

> Callers of SanityManager.THROWASSERT should chain the exceptions when possible
> ------------------------------------------------------------------------------
>
>                 Key: DERBY-2581
>                 URL: https://issues.apache.org/jira/browse/DERBY-2581
>             Project: Derby
>          Issue Type: Improvement
>    Affects Versions: 10.3.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.3.0.0
>
>         Attachments: chain.diff, chain.stat
>
>
> Some places in the code where SanityManager.THROWASSERT is used to wrap unexpected exceptions,
the underlying exception is not linked to the assert exception. Therefore, the original stack
trace, and possibly the message text, are lost. THROWASSERT(Throwable) or THROWASSERT(String,THROWABLE)
should be used instead in these cases.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message