commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32120] New: - org.apache.commons.dbutils.ResultSetIterator.java should rethrow SQLExceptions as RuntimException
Date Mon, 08 Nov 2004 21:26:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32120>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32120

org.apache.commons.dbutils.ResultSetIterator.java should rethrow SQLExceptions as RuntimException

           Summary: org.apache.commons.dbutils.ResultSetIterator.java should
                    rethrow SQLExceptions as RuntimException
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DbUtils
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: stefan.fleiter@web.de


SQLExceptions are not handled.
See TODOs in org.apache.commons.dbutils.ResultSetIterator.java

>From discussion in bug 29392
I do not think that swallowing the exception would be a good decission, the user
(of DbUtils) should know something went wrong and we should not hide application 
bugs and make debugging more difficult.

I would implement this myself if nobody objects.

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


Mime
View raw message