You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/09/22 13:03:26 UTC

[jira] [Resolved] (DBUTILS-80) DbUtils.loadDriver catches Throwable

     [ 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