DO NOT REPLY [Bug 46086] New: javax.servlet.jsp.jstl.sql.ResultSupport.java silently swallows SQLException

[email protected]
Newsgroups gmane.comp.jakarta.taglibs.devel
Message-ID <[email protected]/bugzilla/>
https://issues.apache.org/bugzilla/show_bug.cgi?id=46086

           Summary: javax.servlet.jsp.jstl.sql.ResultSupport.java silently
                    swallows SQLException
           Product: Taglibs
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: Standard Taglib
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Please replace the catch clause in
javax.servlet.jsp.jstl.sql.ResultSupport.java methods to throw a wrapped
RuntimeException instead of silently swallowing SQLException.

Replace:
} catch (SQLException ex) {
            return null;
        }

By something like the following:

} catch (SQLException ex) {
            throw new RuntimeException(ex);
        }


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.