Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-80

DbUtils.loadDriver catches Throwable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • None
    • None

    Description

      DbUtils.loadDriver catches Throwable, which is a very bad idea.

      It should just catch Exception.

      Suggested patch to follow (also simplifies code)

      Attachments

        1. dbutils-80.patch
          0.8 kB
          Sebb

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: