db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3783) LOBStreamControl shouldn't throw SQLException
Date Tue, 05 Aug 2008 17:14:44 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619959#action_12619959

Kristian Waagan commented on DERBY-3783:

Backported 'd3783-initCause.diff' to 10.4 with revision 682803. It went in with the patches
for DERBY-3766.

> LOBStreamControl shouldn't throw SQLException
> ---------------------------------------------
>                 Key: DERBY-3783
>                 URL: https://issues.apache.org/jira/browse/DERBY-3783
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions:,
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>             Fix For:,
>         Attachments: d3783-initCause.diff, derby-3783-1a-dont_throw_sqlexception.diff,
> LOBStreamControl throws three types of exceptions: IOException, SQLException and StandardException.
> All the SQLException are generated/thrown from the code in LOBStreamControl.
> At this level of the code, SQLException should not be thrown, as it is more tedious to
handle both SQLException and StandardException at higher levels.
> I propose to replace SQLException with StandardException in LOBStreamControl. The purpose
of this change is consistency, and also results it slightly less code at higher levels.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message