commons-issues mailing list archives

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

                 Key: DBUTILS-80
                 URL: https://issues.apache.org/jira/browse/DBUTILS-80
             Project: Commons DbUtils
          Issue Type: Bug
            Reporter: Sebb


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