commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DBCP-311) Don't log and re-throw exception
Date Sat, 28 Nov 2009 23:52:21 GMT

    [ https://issues.apache.org/jira/browse/DBCP-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783331#action_12783331
] 

Phil Steitz commented on DBCP-311:
----------------------------------

Lets fix this for BasicManagedDataSource (which is new in 1.3/1.4) but leave BasicDataSource
alone.  

> Don't log and re-throw exception
> --------------------------------
>
>                 Key: DBCP-311
>                 URL: https://issues.apache.org/jira/browse/DBCP-311
>             Project: Commons Dbcp
>          Issue Type: Improvement
>    Affects Versions: 1.2.2
>            Reporter: Niall Pemberton
>             Fix For: 1.3, 1.4
>
>         Attachments: DBCP-311.patch
>
>
> In a couple of cases the stacktrace is written to the log and the exception re-thrown
with a cause. Since DBCP 1.3 is now on JDK 1.4 and the cause will always be there this is
IMO unnecessary

-- 
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