db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5396) DRDAStatement and DRDAConnThread swallow IOExceptions
Date Tue, 30 Aug 2011 13:17:38 GMT
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


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