1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-05 02:22:28 +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

@@ -67,7 +67,7 @@ public class PGbox extends PGobject implements Serializable,Cloneable
{
PGtokenizer t = new PGtokenizer(value,',');
if(t.getSize() != 2)
throw new SQLException("conversion of box failed - "+value);
throw new PSQLException("postgresql.geo.box",value);
point[0] = new PGpoint(t.getToken(0));
point[1] = new PGpoint(t.getToken(1));