commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp DelegatingPreparedStatement.java
Date Tue, 08 Apr 2003 00:32:22 GMT
dgraham     2003/04/07 17:32:22

  Modified:    dbcp/src/java/org/apache/commons/dbcp
                        DelegatingPreparedStatement.java
  Log:
  Fixed exception text for PR# 18617.
  
  Revision  Changes    Path
  1.11      +7 -7      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java
  
  Index: DelegatingPreparedStatement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DelegatingPreparedStatement.java	6 Mar 2003 19:25:32 -0000	1.10
  +++ DelegatingPreparedStatement.java	8 Apr 2003 00:32:22 -0000	1.11
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -245,8 +245,8 @@
       public void setNull (int paramIndex, int sqlType, String typeName) throws SQLException
{ checkOpen(); _stmt.setNull(paramIndex,sqlType,typeName);}
   
       protected void checkOpen() throws SQLException {
  -        if(_closed) {
  -            throw new SQLException("Connection is closed.");
  +        if (_closed) {
  +            throw new SQLException("PreparedStatement is closed.");
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message