]> granicus.if.org Git - postgresql/commitdiff
Applied patch from Fernando Nasser of RedHat to fix some error messages
authorBarry Lind <barry@xythos.com>
Wed, 17 Sep 2003 05:14:52 +0000 (05:14 +0000)
committerBarry Lind <barry@xythos.com>
Wed, 17 Sep 2003 05:14:52 +0000 (05:14 +0000)
that would not get correctly looked up in the translation files for jdbc

 Modified Files:
  jdbc/org/postgresql/errors.properties
  jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java

src/interfaces/jdbc/org/postgresql/errors.properties
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java

index 9b8edc3a5f4049a8029abf22feabbe11ee25bc9f..468ef71aa8b16781eaf06d8321fdb9231d16acb1 100644 (file)
@@ -94,7 +94,7 @@ postgresql.updateable.beforestartdelete:Before start of result set. Can not call
 postgresql.updateable.afterlastdelete:After end of result set. Can not call deleteRow().
 postgresql.updateable.notoninsertrow:Not on insert row.
 postgresql.updateable.inputstream:Input Stream is null.
-postgresql.updateable.ioerror:Input Stream Error.
+postgresql.updateable.ioerror:Input Stream Error - {0}
 postgresql.call.noreturntype:A CallableStatement Function was declared but no call to 'registerOutParameter (1, <some_type>)' was made.
 postgresql.call.noinout:PostgreSQL only supports function return value [@ 1] (no OUT or INOUT arguments)
 postgresql.call.procasfunc:This Statement [{0}] defines a procedure call (needs ?= call <stmt> to be considered a function.
index e7f723365f8b4e7539785dc3ec9ee0d805f9d15c..7b4f7c1e9ab79db09ae95d79e31bcba04dc4fe7c 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright (c) 2003, PostgreSQL Global Development Group
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.23 2003/09/13 04:02:15 barry Exp $
+ *       $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.24 2003/09/17 05:14:52 barry Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -778,7 +778,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra
                }
                catch (IOException ie)
                {
-                       throw new PSQLException("postgresql.updateable.ioerror" + ie);
+                       throw new PSQLException("postgresql.updateable.ioerror", ie);
                }
 
                updateValue(columnIndex, theData);
@@ -811,7 +811,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra
                }
                catch (IOException ie)
                {
-                       throw new PSQLException("postgresql.updateable.ioerror" + ie);
+                       throw new PSQLException("postgresql.updateable.ioerror", ie);
                }
                updateValue(columnIndex, theData);
        }
@@ -858,7 +858,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra
                }
                catch (IOException ie)
                {
-                       throw new PSQLException("postgresql.updateable.ioerror" + ie);
+                       throw new PSQLException("postgresql.updateable.ioerror", ie);
                }
                updateValue(columnIndex, theData);
        }