postgresql.badint property name was probably meant to be
authorPeter Eisentraut
Mon, 9 Jul 2001 16:59:50 +0000 (16:59 +0000)
committerPeter Eisentraut
Mon, 9 Jul 2001 16:59:50 +0000 (16:59 +0000)
postgresql.res.badint, since that's the name in the properties file.

src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java

index bfbded0f01c99c82bcda1af500d163f6006e93b1..47939a48103dad4145863b31958e5b7e85605833 100644 (file)
@@ -258,7 +258,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
      {
        return Integer.parseInt(s);
      } catch (NumberFormatException e) {
-       throw new PSQLException ("postgresql.badint",s);
+       throw new PSQLException ("postgresql.res.badint",s);
      }
       }
     return 0;      // SQL NULL