db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5396) DRDAStatement and DRDAConnThread swallow IOExceptions
Date Tue, 30 Aug 2011 16:11:38 GMT

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

Kathey Marsden commented on DERBY-5396:
---------------------------------------

There is issue DERBY-4350 which I am guessing can be closed as a duplicate of this, except
that that issue also mentions the lack of logging, which is not addressed with the patch,
but that would still be covered by DERBY-1191.



> DRDAStatement and DRDAConnThread swallow IOExceptions
> -----------------------------------------------------
>
>                 Key: DERBY-5396
>                 URL: https://issues.apache.org/jira/browse/DERBY-5396
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.8.1.2
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: d5396.diff
>
>
> DRDAConnThread.closeStream():
> 	} catch (IOException e) {
> 	    Util.javaException(e);
> 	    
> 	}
> DRDAStatement.execute():
> 		} catch (IOException e) { 
> 			Util.javaException(e);
> 		}
> Since Util.javaException() only returns an exception, this code doesn't work as intended.
The returned exception should also be thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message