jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46086] New: javax.servlet.jsp.jstl.sql.ResultSupport.java silently swallows SQLException
Date Sat, 25 Oct 2008 11:35:33 GMT
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: taglibs-dev@jakarta.apache.org
        ReportedBy: cbiswa@gmail.com


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message