commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DBUTILS-80) DbUtils.loadDriver catches Throwable
Date Thu, 22 Sep 2011 11:03:26 GMT

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

Sebb resolved DBUTILS-80.
-------------------------

    Resolution: Fixed

> DbUtils.loadDriver catches Throwable
> ------------------------------------
>
>                 Key: DBUTILS-80
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-80
>             Project: Commons DbUtils
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Sebb
>         Attachments: dbutils-80.patch
>
>
> DbUtils.loadDriver catches Throwable, which is a very bad idea.
> It should just catch Exception.
> Suggested patch to follow (also simplifies code)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message