db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-1630) NetConnection40 references an engine class, org.apache.derby.impl.jdbc.Util
Date Wed, 02 Aug 2006 01:55:14 GMT
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
             Fix For: 10.2.0.0


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

        

Mime
View raw message