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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user