[
https://issues.apache.org/jira/browse/DERBY-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Waagan updated DERBY-3783:
-----------------------------------
Derby Info: (was: [Patch Available])
Fix Version/s: 10.5.0.0
10.4.1.4
That's a good idea Knut Anders!
Preserving the stack traces is important.
I forgot to add a comment that I committed patch
'derby-3783-1a-dont_throw_sqlexception.diff' yesterday:
- trunk : revision 677623
- 10.4 : revision 677628
I'm leaving the issue open for now.
> 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: 10.4.1.4, 10.5.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
> Fix For: 10.4.1.4, 10.5.0.0
>
> Attachments: derby-3783-1a-dont_throw_sqlexception.diff,
> derby-3783-1a-dont_throw_sqlexception.stat
>
>
> 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.