[ http://issues.apache.org/jira/browse/DERBY-1630?page=all ]
Andrew McIntyre closed DERBY-1630. ---------------------------------- > NetConnection40 references an engine class, org.apache.derby.impl.jdbc.Util > --------------------------------------------------------------------------- > > Key: DERBY-1630 > URL: http://issues.apache.org/jira/browse/DERBY-1630 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.2.0.0 > Reporter: Andrew McIntyre > Assigned To: Andrew McIntyre > Priority: Critical > Fix For: 10.2.0.0 > > Attachments: derby-1630-v1.diff, derby-1630-v2.diff > > > NetConnection40.java contains this: > ... > import org.apache.derby.impl.jdbc.Util; > ... > public boolean isValid(int timeout) throws SQLException { > // Validate that the timeout has a legal value > if (timeout < 0) { > throw Util.generateCsSQLException(SQLState.INVALID_API_PARAMETER, > new Integer(timeout), "timeout", > "java.sql.Connection.isValid"); > } > ... > This was added as part of DERBY-1090. This should be changed to use the > client's method of throwing exceptions. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira