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