1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Internationalisation of error messages

This commit is contained in:
Peter Mount
1999-05-18 23:17:46 +00:00
parent c2f0d565f3
commit 4c63b257fd
27 changed files with 198 additions and 132 deletions

View File

@ -66,7 +66,7 @@ public class PGpoint extends PGobject implements Serializable,Cloneable
x = Double.valueOf(t.getToken(0)).doubleValue();
y = Double.valueOf(t.getToken(1)).doubleValue();
} catch(NumberFormatException e) {
throw new SQLException("conversion of point failed - "+e.toString());
throw new PSQLException("postgresql.geo.point",e.toString());
}
}